Page 35 - 1
P. 35
Ÿ Attribute: is used to change the value of an element in HTML. Usually an element has
several attributes.
So far, just remember that a tag is a command that the browser will execute, an element that is
a complete tag and, an attribute is used to customize and change an element in HTML.
HTML Element
An element has three parts: an opening tag, element’s content and an closing.
1. <p) -the tag that opens a paragraph
2. Element’s content- the paragraph itself.
3. </P> - the closing tag.
HTML Document Structure
There are some tags that form the basic structure of HTML document.
HTML tag
It is the main tag in which the whole document structure is written.
<HTML>
</HTML>
HEAD tag
It is the tag used after the HTML tag. In this tag the heading of the web page is defined.
<HTML>
<HEAD>
Computer
</HEAD>
</HTML>
TITLE tag
It comes after the Head tag. It contains the title of the web page.
<HTML>
<HEAD>
35