Pages

Ads 468x60px

Tuesday, March 20, 2012

HTML Tags

Tags are the basic units or building blocks of an HTML file (or code as you may call it now since writing it may referred to as coding, too). Web pages are designed and HTML codes are made up of these tags - they control how the HTML does it structuring, laying out and formatting.

There are so many tags and each has its own use. Some are used to make your text appear in boldface, italicized or underlined. Some are used to make your text bigger, and some are, on the contrary, to make your text smaller. Some can put your text on the center or even on the far right of the screen. Some can put a horizontal line across the screen to separate texts. Some can put images and videos to even spice up your web page.

BASIC HTML TAGS

Name                                                                                  Meaning

<p></p>                                                                    Paragraph
<br>                                                                          Line Break
<hr>                                                                          Horizontal Rule
<h1></h1>                                                                Heading 1
<ol></ol>                                                                  Ordered List
<ul></ul>                                                                  Unordered List
<dl></dl>                                                                  Definition List
<font color="blue" size="5">                                      Modify Font
<b></b>, <i></i>, <u></u>                                      Bold, Italic, Underline
<pre></pre>                                                             Preformat
<img src="image.gif">                                                Image
<table></table>                                                         Table
<tr></tr>                                                                   Table row                                                          
<td></td>                                                                  Table data

No comments:

Post a Comment