PDA

View Full Version : HTML Basic



JizzaBeez
03-03-2011, 05:38 AM
HTML Headings

HTML headings are defined with the <h1> to <h6> tags.

Example

<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
Try it yourself » (http://www.w3schools.com/html/tryit.asp?filename=tryhtml_headers)


HTML Paragraphs

HTML paragraphs are defined with the <p> tag.

Example

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
Try it yourself » (http://www.w3schools.com/html/tryit.asp?filename=tryhtml_paragraphs1)


HTML Links

HTML links are defined with the <a> tag.

Example

<a href="http://www.w3schools.com">This is a link</a>
Try it yourself » (http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic_link)

Note: The link address is specified in the href attribute.
(You will learn about attributes in a later chapter of this tutorial).


HTML Images

HTML images are defined with the <img> tag.

Example

<img src="w3schools.jpg" width="104" height="142" />
Try it yourself » (http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic_img)

Note: The name and the size of the image are provided as attributes.


read more here... (http://www.w3schools.com/html/html_primary.asp)

Twis7eD
03-03-2011, 06:41 AM
Some examples:

Headings:
Depending on what heading number you are using, it will change the size of the text. IE: <h1> is going to be a bigger text than <h3>.

Links:
The example link above would show up like this: This is a link (http://www.w3schools.com)

Images:
The example image above would show up like this: http://www.w3schools.com/html/w3schools.jpg
Note that you can't always just put the name of the image. If it is linking to an external image that is not hosted in the same directory as the web page that you are uploading, then you will need to put the full URL to the image.