Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
333 views

HTML Program

This document contains several HTML code examples and questions about HTML tags and features: 1) The first code example displays a simple "Hello World" message on a web page. 2) Several additional code examples demonstrate common HTML tags like <head>, <body>, <h1>, <ul>, <ol>, <li>, and others to format text and lists on web pages. 3) The document contains questions that test understanding of HTML tags and their outputs, such as lists, headings, and hyperlinks. It also includes questions about creating basic web pages with personal information, college details, and other content.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
333 views

HTML Program

This document contains several HTML code examples and questions about HTML tags and features: 1) The first code example displays a simple "Hello World" message on a web page. 2) Several additional code examples demonstrate common HTML tags like <head>, <body>, <h1>, <ul>, <ol>, <li>, and others to format text and lists on web pages. 3) The document contains questions that test understanding of HTML tags and their outputs, such as lists, headings, and hyperlinks. It also includes questions about creating basic web pages with personal information, college details, and other content.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

HTML Programs 5) Write the exact output of the following HTML code

1) Simple Program for HTML <html>


<HTML> <body>
<HEAD> <h1 align = center> List of Topics </h1>
<TITLE> A Hello Word Example </TITLE> <hr>
</HEAD> <ol>
<BODY> <Li> <p align = left> Operating system</p>
Hello Word <Li> <p align = left> Data Structures</p>
<BODY> <Li> <p align = left> C++ Programming</p>
</HTML> <Li> <p align = left> html</p>
</ol>
2) Program list tag <hr noshade>
<HTML> <ol>
<HEAD> <li> <p align =center> COMPUTERSCINCE </P>
<TITLE> shopping list </TITLE> </ol>
</HEAD> <hr></body> </html>
<BODY>
<UL> 6) Create a web page to display your personal information
<LI> Eggs <HTML>
<LI> Milk <HEAD>
<LI> Apples <TITLE> Problem </TITLE>
</UL> </HEAD>
<DL> <BODY>
<DT> Term A <H1 ALIGN = “CENTER”> PERSONEL INFORMATION </H1>
<DD> Definition of term A <HR>
<DT> Term B My name is <B> Rakesh Patil </B> <BR>
<DD> Definition of term B </DL> My address is <BR> jai hind colony <BR>
<BODY> Wadi-bhokar road <BR> pin -431401 <BR>
</HTML> <I> Telephone : </I> 4240002 <HR>
Date of Birth : 18-10-1992
3) Write the exact output the following HTML <I> SEG you Again </I>
<HTML> <HR>
<BODY> <STRIKE> This is hopless situatuion </Strike>
<H1>List of books </h1><hr> <marquee> The Lion </marquee>
<ul type = “circle”> <a href="http://www.google.com">google</a>
<li> how to solve it by computer <CENTER> VISIT TO <a
<li> HTML in Easy steps href="http://www.dnyanopasak.com"> Gmail </A>
<li> C++ Programming </CENTER>
</ul> <BODY>
<ol type=A> </HTML>
<li> Microprocessor Programming
<li> Networking Essentials 7) Create a web page of consisting of information Such as
<li> Microcontrollers Name of college Address and courses
</ol> <HTML>
</body> <HEAD>
</html> <TITLE> Problem </TITLE>
</HEAD>
4) Write the exact Output for the following code with font <BODY>
Sepecification in brackets. <H1 ALIGN = “CENTER”> S S V Ps COLLEGE DHULE </H1>
<HTML> <HR>
<H1> introduction</h1><hr> <H2 ALIGN = “CENTER”>
<body> ADDRESS : MUMBAI AGRA Road Deopur Dhule
<h2><b> Terms in computer</b></h2> Pin code - 431401 <BR> </H2>
<d1> <H3 ALIGN = “CENTER”>Courses : 11th ,12th, Bsc, and Msc,
<dt> Software <BR>
<dd><b> Software </b> is a set Programs which is required <HR>
to run the system. <CENTER> VISIT TO <a href="http://www.ssvps.com">
<dt> Hardware ssvpsdhule</A> </CENTER>
<dd> the electronic components used in the computer <BODY>
system is called as </HTML>
<b> hardware </b>
</d> 8) HTML Program for Birtday Invitation
</body> <html>
</html> <head>
<title>
Birthday Invitation <font color="red"> Here Is Your Answer</font>
</title> <h4>WWW :-</h4>
</head>
<body color="red"> <p><font face="Comic Sans ms">
<h1><marquee><font color="maroon">Birthday Which organise internet related information so that we can
Invitation</font></marquee></h1> easily access the information available on the
<p> internet.</font></p>
<center><img src="bir.jpg" alt="INVATATION OF MY <br>
BRITHDAY" width="300" height="200"></center> <h4>E-mail:-</h4>
</p>
<br> <p><font face ="Comic Sans ms">
<hr> Is the process of sending and receiving messages files
<h1> The Birthday Event</h1> between other internet.
<font size="+4" color="maroon">And you are </font></p>
Invited</center></font><br>
<br>
Dear Friends
<p> <h4> Telnet:-</h4>
Please come to my celebration of the birthday party held on <p><font face="Comic Sans ms">
5<sup>th</sup>December<br>
Is a software that allowes one computer to another
so i invite you on my birthday Party which arrange at computer and make use of other computer information
home<br>
<center> </font></p>
Thank You <br>
</center> <p fontsize=20font color="red">
</body>
<ahref="h1.html"><b>clickhere</b></a></font></p>
</html>
9) HTML Program for College <center><a href="h2.html">
<HTML> <h3><b>Use Of Images</b></h3></a></center>
<HEAD><TITLE>WEB PAGE OF COLLEGE</TITLE>
</body></html>
</HEAD>
<BODY> 11) HTML Program for Sales and revenue report of
Microsoft Company
<FONT align="center" SIZE="+3">WEB PAGE OF
COLLEGE</FONT> <html>
<h1 align="center" SIZE="+3">WEB PAGE OF <head>
COLLEGE</h1> <title>Sales and Revenue Report of Microsoft </title>
<LI>SCIENCE</li> <body align="center" text="red">
<LI>ARTS <font size="+1" color="blue">
<LI>COMMERCE <center>
<marquee>my college name</marquee> <h1>MICROSOFT SALES AND REVENUE
<a href="C:\Documents and Settings\All REPORT</h1>
Users\Documents\My Pictures\Sample Pictures\Blue <table border="3" cellspacing="10" align="center"
hills.jpg">pppppp</a> height="250" width="900">
<img SRC="rose.jpg"> <caption>
<a href="prog1.html">page</a> <h2>MICROSOFT</H2>
<a href="http://www.google.com">google</a> </caption><tr>
<a href="ftp://ftp.netscap.com/pub/">aaaa</a> <th rowspan="3">Product</th>
</BODY> <th colspan="8"><h1>Sales and revenue split into quarterly
</HTML> sale</h1></th>
</tr>
10) HTML Program for Hyper link <tr>
<Html> <td colspan="2"><b>january_march</td>
<td colspan="2"><b>april_june</td>
<head><title> My first web page </title></head>
<td colspan="2"><b>july_september</td>
<body bgcolor="White"> <td colspan="2"><b>octomber_december</td>
<center><p><h2><font color="blue"> What is available </tr>
OnInternet? </font></h2></p> <tr>
<img <td>Sale</td>
src="C:\ORANT_DEV\TOOLS\DOC60\us\rbbr60\osuplogo.jp <td>Profit</td>
g" width="200" height="150" border color <td>Sale</td>
="red"></img></center> <td>Profit</td>
<td>Sale</td>
<td>Profit</td> <Td> 32</Td>
<td>Sale</td> <Td> 21</Td>
<td>Profit</td> <Td> South</Td> </Tr>
</tr> <Tr>
<tr> <Td> Parbhani</Td>
<td>Transister</td> <Td> 35</Td>
<Td> 22</Td>
<td>4500</td>
<Td> West</Td> </Tr>
<td>16000</td>
<Tr>
<td>5000</td> <Td> Nanded</Td>
<td>4000</td> <Td> 39</Td>
<td>6500</td> <Td> 25</Td>
<td>5000</td> <Td> West</Td> </Tr>
<td>5500</td> <Tr>
<td>4500</td> <Td> Latur</Td>
</tr> <Td> 33</Td>
<tr> <Td> 20</Td>
<td>hard-disk</td> <Td> South</Td> </Tr>
<td>6500</td> </TABLE>
</BODY>
<td>7000</td>
</HTML>
<td>7800</td>
13) write HTML code for a web page displaying six-celled
<td>2200</td> table.
<td>2800</td>
<td>2200</td> Sunday Monday Tuesday
<td>2400</td>
<td>2200</td> First Second Third
</tr>
<td> <HTML>
</table> <HEAD>
<font face="comic sans ms"color="violet"> <TITLE> celled table </TITLE>
</HEAD>
<h1>This is the Report Showing The sales Report of
<BODY>
Current Financial Year</h1></center>
<table Border =5 cell spacing = 50>
</body>
<TR>
</html> <TD>Sunday </TD>
12) Write HTML code for a web page displaying <TD> Monday</TD>
Yesterday’s Weather <TD> Tuesday</TD>
City High Low Wind </Tr>
Aurangabad 30 30 South <Tr>
Jalna 32 21 South <Td> First</Td>
Parbhani 35 22 West <Td> Second</Td>
Nanded 39 25 West <Td> Third</Td> </Tr>
Latur 33 20 South </TABLE>
</BODY>
<HTML> </HTML>
<HEAD> 14) Write HTML code
<TITLE> weather table</TITLE> Pav Bhaji without cheese 700 calories
</HEAD> with cheese 750 calories
<BODY> <Html>
<Table border="1"> <Head>
<caption> Yesterday’s weather </caption> <Title>Nutrition Date</Title>
<TR>
</Head>
<Th> City</Th>
<Th> High</Th> <Body>
<Th> Low</Th> <Table border=1>
<Th> Wind</Th> <Tr>
</TR> <th rowspan=2 colspan=1> Pav Bhaji
<TR> <Th> Without Cheese
<TD> Aurangabad</TD> <Th> 700 Calories
<TD> 30</TD>
</tr>
<TD> 20</TD>
<Td> South</Td> </Tr> <Tr>
<Tr> <Td> With Cheese
<Td> Jalana</Td> <Td> 750 Calories
</Tr> <H3>CONTACT ME WEBSITE OF MIT</H3>
</Table> <A HREF=”e-mail: result@hscboard.com”> <h3>Contact
</Body> me</a><br>
</Html> <a href=http://www.mit.org>Website of MIT
15) Write HTML code </A></H3>
Year </BODY>
1998 1999 2000 </HTML>
sale Units 500 400 1000 17) Write HTML code for the following
Income 1000 800 2000 <HTML>
<HEAD>
<HTML> <TITLE>Computer Science</TITLE>
<HEAD> </HEAD>
<TITLE> SALE DATE</TITLE> <BODY>
</HEAD> <TABLE BORDER=1 CELLPADDING=4 >
<BODY> <TR>
<TABLE BORDER=1> <TH rowspan=2> Computer Science
<TR> <TD>PAPER I
<TH ROWSPAN=2 COLSPAN=2> <TD>PAPER II
<TH COLSPAN=3> YEAR <TD> TOTAL
<TR> </TR>
<TH> 1998 <TD> 100
<TH> 1999 <TD> 100
<TH> 2000 <TD> 200
</TR> </TR>
<TR> </TABLE>
<TH ROWSPAN =2> SALES </BODY>
<TH> UNITS </HTML>
<TH> 500 18) Write a HTML code for creation of web page for T-shirt
<TD> 400 Company
<TD> 1000 <html>
</TR> <head>
<TR> <title> CAMBRIDGE T-SHIRTS COMPANY </TITLE>
<TH> INCOME </HEAD>
<TH> 1000 <BODY>
<TH> 800 <H1> Welcome to Cambridge T- shirts </h1>
<TH> 2000
<h2> Fabulous T-shirts since 1955 </h2> our company
</TR> <b> Cambridge’s Fabulous T- shirt – Company </B> is your
</TABLE>
<b>
</BODY> <I> second-best-choice </I>
</HTML>
</B>
16) Write HTML code for the following For T-shirtd.
<HTML>
Write us at : <BR>
<HEAD>
555, Desai Road <BR>
<TITLE>SSC/HSC BOARD</TITLE>
Mumbai-65
</HEAD>
<p> call us at (022) 111- 4292.
<BODY>
<I>
<H1>SSC/HSC BOARD</H1>
<B> we ‘re here to help </B>
<TABLE BORDER=2 CELLPADDING=5 CELLSPACING=5>
</I>
<TR>
<IMG> src = “images / t shirt.jpg” alt= “T-Shirt”>
<TH COLSPAN=2>
<HR>
<H2>RESULT</H2></TR>
<CENTER>
<TR>
WHY NOT VISIT
<TH>
<a HREF = “HTTP: // www.yahoo.com”>
<H2><A HREF=”SSC.HTML”>SSC</A></H2>
Yahoo</A>?
<TH>
</center>
<H2><A HREF=”HSC.HTML”>HSC</A></H2>
</body>
</TR> </TR>
</html>
</TABLE>

You might also like