HTML
(Hyper Text Markup Language)
Tables
<table> Defines a table.
<caption> Defines a table caption.
<th> Defines a table header.
<tr> Defines a table row.
<td> Defines a table cell.
<thead> Defines a table header.
<tbody> Defines a table body.
<tfoot> Defines a table footer.
<col> Defines attributes for table columns.
<colgroup> Defines groups of table columns.
Styles
<style> Defines a style definition.
<div> Defines a section in a document.
<span> Defines a section in a document.
Meta Info
<head> Defines information about the document.
<title> Defines the document title.
<meta> Defines meta information.
<base> Defines a base URL for all the links in a page.
<basefont> Deprecated. Defines a base font.
|
|
Programming
<script> Defines a script
<noscript> Defines a noscript section
<applet> Deprecated. Defines an applet
<object> Defines an embedded object
<param> Defines a parameter for an object
(Note: To start making HTML file first open notepad & save the file
with extension as html or htm.)
HTML
EXAMPLES
Example: 1
<html>
<body bgcolor=#ffff00>
<title> my first page </title>
<head> My FIRST PAGE </head>
</html>
Example: 2
<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>Paragraph elements are defined by the p tag.</p>
</body>
</html>
Example:3
<html>
<frameset cols="25%,50%,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
Example
:4
</html>
<html>
<body>
<p>
Each table starts with a table tag.
Each table row starts with a tr tag.
Each table data starts with a td tag.
</p>
<h4>One column:</h4>
<table border="1">
<tr>
<td>100</td>
</tr>
</table>
<h4>One row and three columns:</h4>
<table border="1">
<tr>
<td>100</td>
<td>200</td>
<td>300</td>
</tr>
</table>
<h4>Two rows and three columns:</h4>
<table border="1">
<tr>
<td>100</td>
<td>200</td>
<td>300</td>
</tr>
<tr>
<td>400</td>
<td>500</td>
<td>600</td>
</tr>
</table>
</body>
</html>
Copyright
© 2006 Vignesh.in
Computer Services. All rights reserved.
|