OUTPUT: Ex.
No:
Date:
Simple HTML Programs
My First Program
OUTPUT:
HTML Heading Tags
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
PARAGRAPH TAG Twinkle, twinkle, little star, How I
wonder what you are!
PREFORMATTING TAG
1. HTML program to illustrate the basic tags
Twinkle, twinkle, little star,
How I wonder what you are!
<html>
<head> <title>HTML Basic Tags</title> </head>
<body>
My First Program
</body>
</html> 3. HTML Program to illustrate Paragraph and Preformatted
tags
2. HTML program to illustrate the heading tags <html>
<head><title>HTML Paragraph Tag</title></head>
<html> <body>
<head><title>HTML Heading Tags</title></head> <center> HTML Paragraph Tag </center>
<body> <p> PARAGRAPH TAG
<center> HTML Heading Tags </center> Twinkle, twinkle, little star,
<h1>Heading 1</h1> How I wonder what you are!
<h2>Heading 2</h2> </p>
<h3>Heading 3</h3> <pre> PREFORMATTING TAG
<h4>Heading 4</h4> Twinkle, twinkle, little star,
<h5>Heading 5</h5> How I wonder what you are!
<h6>Heading 6</h6> </pre>
</body> </body>
</html> </html>
4. HTML Program to setting the background color
<html>
OUTPUT: <head><title>HTML Heading Tags</title></head>
HTML Paragraph & Preformatting Tag <body bgcolor="red" text="yellow">
<center> Setting Backgound Color</center>
</body>
</html>
5. HTML Program to scroll the text using marquee tag
<html>
<head><title>HTML Marquee Tags</title></head>
<body>
<marquee>Scrolling Text using MARQUEE </marquee>
</body>
</html
OUTPUT:
HTML BODY & PREFORMATTED TAG
Twinkle, twinkle, little star,
How I wonder what you are!
Up above the world so high,
Like a diamond in the sky
Up above the world so high,
Like a diamond in the sky
</pre>
</body>
</html>
Ex.No:1
Date: BODY & PREFORMATTED TEXT
OUTPUT:
AIM: To write a HTML program to illustrate BODY and
Preformatted Tags
HTML FONT TAG
This is Verdana
PROGRAM:
This is Comic Sans MS
<html>
<head><title>HTML Paragraph Tag</title></head>
This is WildWest
<body bgcolor="red" text="yellow">
<center>
<h1>HTML BODY & PREFORMATTED TAG</h1>
</center>
<pre>
Twinkle, twinkle, little star,
How I wonder what you are!
<font face="Comic sans MS" size="5" color="red">
This is Comic Sans MS
</font> <br>
<font face="WildWest" size="5" color="blue">
This is WildWest
</font>
</body>
</html>
AIM: To write a HTML program to illustrate Font Tags.
OUTPUT:
PROGRAM: HTML Text Formatting Tags
Ex.No:2 This is bold text.
This is strongly important text.
Date: FONT TAG is is italic text.
This is emphasized text.
This is highlighted text.
<html> This is computer code.
<head> This is smaller text.
This is subscript
<title>Font Face</title> superscript
text.
</head> This is deleted text.
<body> This is inserted text.
<center><h1> HTML FONT TAG</h1></center>
<font face="Verdana" size="5">
This is Verdana
</font> <br>
<p>This is <strong>strongly important text</strong>.</p>
<p>This is <i>italic text</i>.</p>
<p>This is <em>emphasized text</em>.</p>
<p>This is <mark>highlighted text</mark>.</p>
<p>This is <code>computer code</code>.</p>
<p>This is <small>smaller text</small>.</p>
<p>This is <sub>subscript</sub></p>
<p><sup>superscript</sup> text.</p>
<p>This is <del>deleted text</del>.</p>
<p>This is <ins>inserted text</ins>.</p>
</body>
AIM: To write a HTML program to illustrate Text Formatting </html>
Tags.
PROGRAM:
Ex.No:3
Date: BODY & PREFORMATTED TEXT
<html>
<head>
<title>HTML Formatting Tags</title>
</head>
<body>
<center>HTML Text Formatting Tags</center>
<p>This is <b>bold text</b>.</p>