HTML Examples:
<html>
<head>
<title> My Test Title </title>
</head>
<body>
<!-- Comment tag start exclamation mark that browser not read comments -->
<!-- Head Tag -->
<h1> Example of HTML</h1>
<!-- Break line Tag -->
<br />
<!-- Image -->
<img src="images/h.png" width="100" height="100" />
<!-- Break line Tag -->
<br />
<p><strong>This text is strong</strong>.</p>
<br />
<p><i>This text is italic</i>.</p>
<br />
<p><em>This text is emphasized</em>.</p>
<br />
<h2>HTML <small>Small</small> Formatting</h2>
<br />
<h1 style="color:blue;">This is a heading</h1>
<p style="color:red;">This is a paragraph.</p>
</body>
</html>
The result will look like below :
<html>
<head>
<title> My Test Title </title>
</head>
<body>
<!-- Comment tag start exclamation mark that browser not read comments -->
<!-- Head Tag -->
<h1> Example of HTML</h1>
<!-- Break line Tag -->
<br />
<!-- Image -->
<img src="images/h.png" width="100" height="100" />
<!-- Break line Tag -->
<br />
<p><strong>This text is strong</strong>.</p>
<br />
<p><i>This text is italic</i>.</p>
<br />
<p><em>This text is emphasized</em>.</p>
<br />
<h2>HTML <small>Small</small> Formatting</h2>
<br />
<h1 style="color:blue;">This is a heading</h1>
<p style="color:red;">This is a paragraph.</p>
</body>
</html>
The result will look like below :
No comments:
Post a Comment