+quezonian Educational College, Inc.: Atimonan, Quezon
+quezonian Educational College, Inc.: Atimonan, Quezon
Atimonan, Quezon
References:
I.C. Topia
TechFactors Inc.
<table border="1">
<tr>
Header 1 Header 2
<th>Header 1</th>
<th>Header 2</th> row 1, cell 1 row 1, cell 2
</tr> row 2, cell 1 row 2, cell 2
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
Tag Description
<table> Defines a table
<th> Defines a header cell in a table
<tr> Defines a row in a table
<td> Defines a cell in a table
<caption> Defines a table caption
<colgroup> Specifies a group of one or more columns in a table for formatting
<col> Specifies column properties for each column within a <colgroup> element
HTML Images
The <img> tag is empty, which means that it contains attributes only, and has no closing tag.
To display an image on a page, you need to use the src attribute. Src stands for "source". The value of the src attribute is the
URL of the image you want to display.
The required alt attribute specifies an alternate text for an image, if the image cannot be displayed.
The value of the alt attribute is an author-defined text: <img src="smiley.gif" alt="Smiley face">
The height and width attributes are used to specify the height and width of an image.
A hyperlink (or link) is a word, group of words, or image that you can click on to jump to another document.
The HTML code for a link is simple. It looks like this: <a href="url">Link text</a>
Image as Links
Example:
<html>
<head>
<title>HTML Test</title>
</head>
<body>
<p>
<a href="http://www.littlewebhut.com">
<img src=http://www.littlewebhut.com/images/little_web_hut.gif alt="Little Web Hut">
</a>
</body>
</html>
Example 2:
<html>
<body>
<p>If you set the target attribute to "_blank", the link will open in a new browser window/tab.</p>
</body>
</html>