Professional Documents
Culture Documents
PARAGRAPH
<html>
<head>
<title>paragraph tag</title>
</head>
<body>
The example explained above can work on most of the browser but we should not be dependent as it is
not sure to work always and can produce an unexpected result at any point in time.
</p>
HTML <pre> tag is the solution for this problem. This tag is used for preformatted text.
The text inside this <pre> tag displayed as you write with the fixed width and font size.
It also maintains all line break and spaces that you have given while writing.</p>
You can not predict exact HTML output over the browser.
It will also depend on your screen size whether it is larger or smaller.<br>
lines to your HTML code as a browser will remove the line and extra <br>space when a page will load.
</p>
</body>
</html>
RESULT
PROGRAM : 2nd
TEXT STYLE(1ST)
<html>
<head>
<title>text style</title>
</head>
<body>
</body>
</html>
RESULT
PROGRAM : 3rd
TEXT STYLE(2ND)
<html>
<head>
<title>text style</title>
</head>
<body>
<sub>The word 'information' comes from the Latin informare, meaning 'to shape or form an idea; to mold
someone's mind.'<br>
A genre of nonfiction writing, information writing is that which seeks to inform or help the reader to mentally
form ideas about a subject.(subscript tag)</sub>
<br>
<marquee>Scrolling the text across the page.A attribute direction </marquee>can be used to scroll the text
downloads and upwords.
</body>
</html>
RESULT
PROGRAM : 4th
FONT
<html>
<head>
<title>text style</title>
</head>
<body>
</font>
<br>
</font>
<br>
</font><br>
</body>
</html>
RESULT
PROGRAM : 5
BACKGROUND COLOUR
<html>
<head>
<title>text style</title>
</head>
</font>
<br>
</font>
<br>
</font><br>
</body>
</html>
RESULT
PROGRAM : 6
LINKING
<html>
<head>
<title>internal linking</title>
</head>
<body>
<center>
<b>
NOTE :
</b>
location name or id and internal link should not be on the same page of document or website.<br>
The most powerful feature of the web is the ability to link related documents so that you can surf from
page to page in a logical manner.<BR>
A link is word group of words or image and by clicking on it, you can jump to another document or a
new section within the current document. <br>
Anything written between the <a> </a> tags becomes a hyperlink/hotspot and appears or the screen in
a different colour and underlined.<br>
<a href="https://search.yahoo.com/search?ei=utf-
8&fr=tightropetb&p=web+world+picture&type=64943_031617">
Linking are two types:<br>
</a>
</center>
</body>
</html>
RESULT
PROGRAM : 7
PAGE LAYOUT
<html>
<head>
<title>page layout</title>
</head>
the left margin attribute of <body> tag is used to set the left margin of the page.<br>
In top margin attribute of<body> tag is used to set the top margin on a page.<br>
The code for setting a top margin of 40 pixels and left margin of 20 pixel is<br>
</body>
</html>
RESULT
PROGRAM : 8th
IMAGE
<html>
<head>
<title>internal linking</title>
</head>
<body>
<center>
<b>
NOTE :
</b>
location name or id and internal link should not be on the same page of document or website.<br>
The most powerful feature of the web is the ability to link related documents so that you can surf from
page to page in a logical manner.<BR>
A link is word group of words or image and by clicking on it, you can jump to another document or a
new section within the current document. <br>
Anything written between the <a> </a> tags becomes a hyperlink/hotspot and appears or the screen in
a different colour and underlined.<br>
<img src="C:\Users\Administrator\Pictures.jpg">
</center>
</body>
</html>
RESULT
PROGRAM : 9TH
LISTS
<html>
<head>
<title>lists</title>
</head>
<body>
<ul>
</li>
<li>ms-word
<li>ms-powerpoint
<li>ms-excel
<li>ms-access
</ul><br>
<ol>
<li>
</li>
<li>ms-word
<li>ms-powerpoint
<li>ms-excel
<li>ms-access
</ol><br>
<ol type = 1 start = 6>
<li>ms-word
<li>ms-powerpoint
<li>ms-excel
<li>ms-access
</ol><br>
<ol type=i>
<li>ms-word
<li>ms-powerpoint
<li>ms-excel
<li>ms-access
</ol><br>
<DL>
</li><br>
<dt>computer
<DT>html
</DL><br>
<li>nested list
</li><br>
<li>
input devices
<ul type=circle>
<li>keybord
<li>mouse
</ul><br>
<li>output devices
<ul type=circle>
<li>monitor
</ul><br>
</ol><br>
</body>
</html>
OUTPUT
PROGRAM : 10
TABLE
<html>
<head>
<title>table</title>
</head>
<body>
<center>
<tr align=center>
</tr>
<tr align=center>
<th>class</th>
<th>roll no.</th>
<th align=center>name</th>
<th>marks</th>
</tr>
<tr align=center>
<td>1001</td>
<td align=center>Sorav</td>
<td>95</td>
</tr>
<tr align=center>
<td>1002</td>
<td align=center>Smir</td>
<td>95</td>
</tr>
<tr align=center>
<td>1003</td>
<td align=center>Sanjay</td>
<td>95</td>
</tr>
<tr align=center>
<td>2001</td>
<td align=center>manju</td>
<td>100</td>
</tr>
<tr align=center>
<td>2002</td>
<td align=center>Sunita</td>
<td>99</td>
</tr>
<tr align=center>
<td>2003</td>
<td align=center>Arun</td>
<td>98</td>
</tr>
</table>
</center>
</body>
</html>
OUTPUT
PROGRAM : 13
RADIO BUTTON
<html>
<head>
</head>
<body>
<form>
</form>
</body>
</html>
OUTPUT
PROGRAM : 11
FRAME
<html>
<frame src="frame_1.html">
<frame src="frame_2.html">
<frame src="frame_3.html">
<frame src="frame_4.html">
</frameset>
</html>
OUTPUT
PROGRAM : 12
FORM
<html>
<head>
</head>
<body>
<input type="submit">
</form>
</html>
OUTPUT