HTML PROGRAM
1. Program to display a message in the web page.
<HTML>
<HEAD>
<TITLE> SAMPLE </TITLE>
</HED>
<BODY>
WELCOME TO <BR> MIRS
</BODY>
</HTML>
2. Program to display message using basic tags.
<HTML>
<HEAD>
<TITLE> SAMPLE </TITLE>
</HED>
<BODY>
WELCOME TO <BR>
<B><I><U> MIRS </U></I></B>
</BODY>
</HTML>
3. Program to display message using <P> tag.
<HTML>
<HEAD>
<TITLE> SAMPLE </TITLE>
</HED>
<BODY>
<P>
This paragraph has multiple lines.
But HTML reduces them to a single line,
omitting the carriage return we have used.
</P>
</BODY>
</HTML>
Note:
Open Notepad and type the program.
Save the program with .html extension.
Open any web browser and then open the file that is saved with .html extension.