HTML
HTML
Procedure :
Task1 : Design simple web page with basic HTML elements head, title, body, text,
paragraph and line break.
1. Type the following program.
<HTML>
<HEAD>
<TITLE> PRACTICE HTML </TITLE>
</HEAD>
<BODY>
<H1> This is heading 1 </H1>
<H2> This is heading 1 </H2>
<H3> This is heading 1 </H3>
<H4> This is heading 1 </H4>
<H5> This is heading 1 </H5>
<H6> This is heading 1 </H6>
<br> <br>
<p> HTML stand for Hyper Text Markup Language <br>It describes the
structure of the web page.HTML elements are the building block of HTML
pages.</p>
</BODY>
</HTML>
2. Save it as test1.html.
3. Open the browser Internet Explorer and open the file.
4. The output will be shown as below.
*****output********
2. Format text, change background colour and insert picture in web page.
1. Type the following program.
<HTML>
<HEAD>
<TITLE> FORMAT TEXT </TITLE>
</HEAD>
<BODY BGCOLOR=”AQUA” >
<CENTER> <B><U>FORM CONTROLS </U></B></CENTER><br>
<BIG> Check Box </BIG> <br>
<SMALL> Text Box </SMALL> <br>
<STRONG> Option Button </STRONG> <br>
<I> Command Button </I> <br>
X<SUB> 3 </SUB> <br>
H<SUP> 2 </SUP>O
<br> <br>
<FONT COLOR=”BLUE” SIZE=”20” FACE=”ALGERIAN”>
World Wide Web </FONT>
<br>
<IMG SRC=”D:\COPA\iti.jpg” alt=”ITI Logo” >
</BODY>
</HTML>
2. Save it as test2.html.
3. Open the browser Internet Explorer and open the file.
4. The output will be shown as below.
*****output********
Task 4: Use marquee, hyperlinks and mail to link in designing web pages.
<HTML>
<HEAD>
<TITLE> MARQUEE </TITLE>
</HEAD>
<BODY>
<a href=”http://nimi.gov.in/” > Visit to NIMI website </a>
<br> <br>
<marquee behavior=”scroll” direction=”right” scrollamount=”40” bgcolor=”blue”>
Govt. ITI Kattappana
</marquee>
<br> <br>
<a href= “mailto:[email protected] “ target=”_top” > Send Mail </a>
</BODY>
</HTML>
Task 5 : Design web page with forms and form controls using HTML tags.
<html>
<head>
<title>Student Information System</title>
</head>
<body>
<h2>STUDENT INFORMATION SYSTEM</h2>
<label>Gender:</label><br>
<input type="radio" id="male" name="gender" value="Male">
<label for="male">Male</label><br>
<label for="trade">TRADE:</label>
<select id="trade" name="trade">
<option value="FITTER">FITTER</option>
<option value="COPA">COPA</option>
<option value="MRAC">MRAC</option>
<option value="MMV">MMV</option>
</select><br><br>
<label>Computer Knowledge:</label><br>
<input type="checkbox" id="windows" name="computer_knowledge"
value="Windows OS">
<label for="windows">Windows OS</label><br>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</form>
</body>
</html>