Friday, July 18, 2014

LIST OF THE MOST COMMON HTML TAGS


HTML Tag
Type
Description
<!-- ... -->
Comment Anything typed in this tag is not displayed

A

<a href ...> </a>
Hyperlink Link to another page or site
<abbr> </abbr>
Text format Denotes an abbreviation
<acronym> </acronym>
Text format Denotes an acronym
<address> </address>
Text format Address, built in text style (italic)
<area ...>
Map element Defines a hot spot on an image map

B

<b> </b>
Text format Makes text bold
<bgsound ...>
Media Add background sound to a page
<big> </big>
Text format Makes text one size larger (relative)
<blink> </blink>
Text format Makes text flash on and off
<body> </body>
Page element Contains code to be displayed
<br>
Text format Breaks text without starting a new paragraph



D

<div> ... </div>
Layout element Creates a division in the page

E

<em> </em>
Text format Emphasis, built in text style (italic)

F

<font ...> </font>
Text format Specifies colour, size etc. of text
<form ...> </form>
Form Contains elements of a form

H

<head> </head>
Page element Contains hidden page information
<h1> </h1> to
<h6> </h6>
Text format Headings, built in text styles
<hr>

Horizontal rule
<html> </html>
Page element Contains all html code in page

I

<i> </i>
Text format Makes text italic
<img ...>
Media Embeds an image in the page
<input ...>
Form element Specifies a form input element

L

<li> </li>
List format An item in an ordered or unordered list

M

<map ...>
Map element Defines an image map
<marquee ...> </marquee>
Text format Creates a moving text effect
<meta ...>
Page element Provides hidden page information

O

<ol> </ol>
List format Specifies an ordered (numbered) list
<option> </option>
Form element Denotes an item in a <select> tag

P

<p> </p>
Text format Denotes a paragraph

S

<select> </select>
Form element Specifies a multiple choice list of options
<small> </small>
Text format Makes text one size smaller (relative)
<span> </span>
Layout element Defines an area for CSS formatting
<strong> </strong>
Text format Built in text style (bold)
<style> </style>
Formatting Contains style sheet information within a page

T

<table> </table>
Table element Contains elements of a table
<td> </td>
Table element Creates a cell
<textarea> </textarea>
Form element Specifies a multi-line input field
<title> </title>
Page element Contains the page title
<tr> </tr>
Table element Creates a row

U

<u> </u>
Text format Makes text underlined
<ul> </ul>
List format Creates an unordered (bullet) list

No comments:

Post a Comment