In this HTML code we are learning how to write the tags like
- H1 to H6 (Heading)
- HR (Horizontal Tag)
- B (Bold tag)
- U (Underline Tag>
- I (Italic tag)
- Font (font tag)
- Font tag Attributes like FACE, SIZE, COLOR
- CENTER (Center tag)
- BR (Line Break)
Sample Code of HTML tags
<html>
<head><title>Lets Learn HTML</title></head>
<body bgcolor="ff6633" text=white>
<center>
<h1>Heading</h1>
<hr>
Horizontal Rule<br>
<hr>
<br>This is sample <b>BOLD</b> <br>
<br>This is sample <u>UNDERLINE</u><br>
<br>This is sample <i>ITALIC</i><br>
<br>This is sample <font face="Lucida Handwriting" size=10>FONT FACE</font><br>
<br>This is sample <font size=10>FONT SIZE</font><br>
<br>This is sample <font color=red size=10>FONT COLOR</font><br>
<br>This is sample SUB SCRIPT:<font size=10> Log<sub>e</sub></font><br>
<br>This is sample SUPER SCRIPT:<font size=10>X<sup>2</sup></font> <br>
<br>This is sample <br>
<br>This is sample<br>
</center>
</body>
No comments:
Post a Comment