HTML

Basic Tags Of HTML 





TAGS
Description
<!DOCTYPE…
The doctype ‘tells’ the browser how to read and interpret the HTML (markup) Code
<html>…</html>
Creates the HTML page
<head>…</head>

<title>…</title>
Sets the page title
<body>…</body>
What you see on the page fall between these tags
“MARKUP”
Web pages can be written in either HTML or XTML … Both are “markup” languages.

TAGS
Description
<p>…</p>
Paragraph tags
<a href="URL">
</a>
Hyper link tag
<div>…</div>
DIV tags
<span>…</span>
Span tags
<h1>…</h1>
Heading tags
Heading tags use to make headings
h1------h6

TAGS
Description
<table>…</table>
The root table tag that creates the table
ROOT TABLE-TAG ARRTIBUTE
cellpadding=”#”  
Sets amount of space between a cell’s border and its contents
cellspacing=#
Sets amount of space between table cells
SUB TABLE TAGS
<tr>…</tr>
Creates a row in the table
<td>…</td>
Creates a cell in the row
<td colspan=#>
Sets number of columns a cell should span defaults to 1
<td rowspan=#>
Sets number of rows a cell should span defaults to 1
<th>…</th>
Creates a cell with a text bold and  

TAGS FOR RADIO BUTTON (How to make radio button)

<table border="3" align="center" bgcolor=Gray shade width="500" height"250" bordercolor="black" cellspacing="3" cellpadding="3">
<tr>
<td>Gender:</td>
<td>
<input type="radio" name="from" value="male">Male<br>
<input type="radio" name="from" value="female">Female<br>
</td>
</tr>
</table>

TAGS FOR CHECK BOX (How to make check box)

<table border="3" align="center" bgcolor=Gray shade width="500" height"250" bordercolor="black" cellspacing="3" cellpadding="3">
<tr>
<td>
Language:
</td>
<td>
<input type="checkbox" name="" value="">English<br>
<input type="checkbox" name="" value="">Urdu<br>
<input type="checkbox" name="" value="">Punjabi<br>
<input type="checkbox" name="" value="">Arabic<br>
</td>
</tr>
</table>

Slide of Images:

<table border="3" width="1000" height="200"
<tr>
<td>

<marquee scrollamount="5"><img src="b.jpg" width="350" height="200"/></marquee>
</td>
</tr>

No comments:

Post a Comment