Html Practical

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

<base href="" 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">
<!--IT is used to set style of a document-->

<script language="javascript">


<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">
this is font tag
<!--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="">Mail us</a>

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

<ul type="circle">

<ol type="1" start="102">

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

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

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

<label for="2">Password</label>
<input type="password" id="2">
Post a Comment