Tuesday, 11 October 2011

HTML tags


Creating an HTML page

The Web page was created using a language called, Hypertext Markup Language, better known as HTML. You can write your personal code in a text editor such as Notepad, or use an HTML editor, who writes the code for you.

HTML codes, also known as HTML tags are surrounded by less than (<) and greater brackets (>) and can be written in uppercase or lowercase.

The opening parenthesis is followed by an item that was commissioned by the browser, and ends with the closing bracket.

<font size=2>

The element can also follow the attributes, which are words that describe the properties of the element, and continues to control the browser.

<font size=2>

Attributes are contained in the opening HTML tags to the right of the element and are separated by a space and followed by an equal sign (=) sign.

The value follows the equal sign and is enclosed in quotation marks.

<font size=2>

<html>

<head>

<title> Your page title </title>

</head>

<body>

This area contains all that is visible through a web browser, such as text and graphics. All information is encoded HTML.

For a complete list of HTML codes, tags and examples, see the HTML table.

</body>

</html>



No comments:

Post a Comment