Attributes of Font Tag
- Face
- Color
- Size
FACE attribute- By using Face attribute of the Font tag we can specify the Face of body text.
<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<Font Face ="arial">Sample text</Font>
</BODY>
</HTML>
COLOR attribute- By using Color attribute of the Font tag we can specify the Color of body text according to our specification.
<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<Font Color ="Red">Sample text</Font>
</BODY>
</HTML>
SIZE attribute- By using Size attribute of the Font tag we can specify the Size of body text according to our specification.
<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<Font Size =20>Sample text</Font>
</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)