HTML Elements
1. HTML- HTML elements identifies the document as an HTML document and HTML document begins with <HTML> and ends with </HTML>
e.g.
<HTML>
</HTML>
2. HEAD- The HEAD element contains information about the document including Title, scripts, style, definitions and document description.
The HEAD tag is entered between <HTML> tags
e.g.
<HTML>
<HEAD>
Header information
</HEAD>
</HTML>
3. TITLE- This tag contains the document title
The Title tag is entered between <HEAD> tags
e.g.
<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
</HTML>
4. BODY- Body tag contains all the tags, attributes of the tags and information of the web page
The Body tag is entered between below the closing </HEAD> tag and above the closing </HTML> tag
e.g.
<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
All the tags, attributes of tags and information
</BODY>
</HTML>
UNIT-205
HTML Fundamentals
HTML Elements
HTML Fundamentals
HTML Elements
- HTML, HEAD, TITLE, BODY
- Attributes of Body Element: Background, Bgcolor, Text, Link, Alink, Vlink, Leftmargin, Topmargin
- FONT (Attributes of FONT Element: Color, Size, Face)
- IMG (Attributes of IMG Element: Src, Width, Height, Alt, Align)
- BASEFONT (Attributes of BASEFONT Element: Color, Size, Face)
- CENTER, BR
- HR (Attributes of HR Element: Width, Align, Noshade, Color, Size, Face)
- H1-H6 (Heading Elements)
- P (Paragraph), B (Bold), I (Italics), U (Underline)
- UL (Unordered List) Attributes of UL: Type
- OL (Ordered List) Attributes of OL: Type, Start
- Linking Internal and External Linking
- A (Anchor) Attributes of A Element: Href, Title, Name, Alt
- TABLE (Attributes of TABLE Element: Td, Th, Tr)