Simple Programs
1. <!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Homepage Headline</h1>
<p>This is before the break tag<br />
and this after the break tag.</p>
</body>
</html>
2. <Html>
<Head>
<title>
Example of make a text B,I,U
</title>
</Head>
<Body>
<b> [This text is Bold......] </b>
<I> [This text is Italic......] </I>
<U> [This text is Underline......] </U>
</Body>
</Html>
3. <Html>
<Head>
<title>
Example of center and BR tag
</title>
</Head>
<Body>
<!-- In this example we use the center tag which specify the content at centre of the
webpage.-->
<center>
HTML tutorial <br> <!-- The BR tag is used to break a line. -->
Example program <br>
</center>
Learn html basic program <!-- Here BR tag is not used, so the next statement is in
continuous with one space after this statement. -->
Html html <br>
</Body>
</Html>
4. <Html>
<Head>
<title>
Example of anchor or hyperlink
</title>
</Head>
<Body>
<!-- In this example we use the anchor tag for linking one page to another by using the
href attribute
which specify the url of the second page which you want to link.-->
<center> Click on <a href="[Link] this link </a> for reading about
vit Bhopal university.
</center>
</Body>
</Html>
5. <!DOCTYPE html>
<html>
<head>
<title>Linking Pages in HTML</title>
</head>
<body>
<h2>HTML Page Link</h2>
<h4><a href="[Link] this link </a> </h4>
<p>Open another webpage by linking pages in HTML</p>
<h4><a href="E:/html%20example/[Link]">To browse new webpage click
Here</a></h4>
</body>
</html>
6. <html>
<head>
<title>Linking Pages in HTML</title>
</head>
<body>
<h2>linking Pages in HTML</h2>
<p>Learn and grow your Technical skills with Us. We have exciting courses for
you.</p>
<h4><a href="[Link] >More About US</a></h4>
<h2>HTML Image as Page Link</h2>
<p>As we discussed we can give link to the image, so are giving link to the image
here which will open another page.</p>
<a href="E:/html%20example/[Link]">
<img src="[Link]" alt="HTML tutorial"
style="width:42px;height:42px;border:0;">
</a>
</body>
</html>
7.<!DOCTYPE html>
<html>
<body>
<h4>Linking Pages in HTML Using Button as a Link</h4>
<p>Most important thing we can do give the link to the button to open another
page.</p>
<button onclick="[Link]='[Link]'">HTML first program</button>
</body>
</html>