Html Practical

<html>
<head>
<title>
blog
</title>
<!--Title is used to identify the contents of a document.It defines a title in the browser-->


<base href="http://solvedprograms.blogspot.in" target="_self">
<!-- Base specifies a default url & a default target for all links on a page -->


<meta name="keywords" content="html,xml">
<!--The meta element specifies a property and assign a value to it.Mainly used for seo-->


<link rel="stylesheet" type="text/css" href="a.css"/>
<!--It is used to link other documents to the webpage-->


<style type="text\css">
H1{font-size:72px}
</style>
<!--IT is used to set style of a document-->


<script language="javascript">

</script>
</head>


<body background="" bgcolor="gray" leftmargin="100" topmargin="100" alink="blue" vlink="pink" link="orange">
<!--It acts as a container for the body of the document-->



<h1 align="center" id="143">this is h1 </h1>
<!--It specifies heading in a document-->


<p align="justified">Paragraph 1</p>
<!--It indicates a paragraph in a document for every new paragraph-->


<br clear="left">
<!--when text need to starts from a new line-->


<hr width="75%" align="center" >
<!--It draws horizontal line in a document for separating document section -->


<div id="23" class="a" title="hello">
<!--It indicates logical division within a document-->


<font size="+3" color="orange" face="monotype corsiva">
<b><i><u>
this is font tag
</b></i></u>
</font>
<!--It alters or set font characteristics of the font-->

<a href=#2 >hit me </a>

<!--linking are of 3 types:
same folder
different folder
docs on web
specific location on the web-->

<a href="mailto:vina23y@gmail.com">Mail us</a>

<!-- Types of url
relative- document relative, server relative
absolute
-->


<ul type="circle">
<li>1
<li>2
</ul>

<ol type="1" start="102">
<li>1
<li>2
</ol>

<img src="C:\Users\a\Desktop\add.bmp" >
<!--the images inserted in a webpage are ca -->



<table border="30" cellpadding="10" cellspacing="10">
<form>
<tr>

<td>
<label for="1">Name</label>
<td>
<input type="text" id="1">
</input>
</tr>

<tr>
<td>
<label for="2">Password</label>
<td>
<input type="password" id="2">
</input>
</tr>
</form>
</table>
</body>
</html>
Post a Comment