HTML Cross Reference

2011 Jun 07


Blank Page Comment
Tags Attributes
Color Names CSS
Forms Frames Head Tables
div border Open link in new browser window

Comment

<!-- comment
(can span multiple lines) -->

Blank Page Example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.2//EN">
   <!-- above (optional) specifies html version -->
<html>
<head>
   <!-- all tags are optional in head section -->
   <title>...</title>
</head>
<body>
   <!-- body tags -->
</body>
</html>

Head Tags

<head>
   <!-- all tags are optional -->
   <link>
   <meta>
   <style>
   <title>
</head>

Table Tags

<table>
<caption> <!-- optional -->
<colgroup> <!-- optional -->
   <col> <!-- optional -->
</colgroup>

<thead> <!-- optional -->
<tfoot> <!-- optional -->
<tbody> <!-- optional -->
   
<tr>
   <th>
   </th>
   <td>
   </td>
</tr>

</table>

To get tables with truly 1 thick border, need to do:
<table border=1 style='border-collapse:collapse;'>

a b
c d

div border

<div style='border:solid windowtext 
  1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt;
  margin-left:27.35pt;margin-right:3.2in'>
<p align=center 
  class=numbered 
  style='margin:0in;margin-bottom:.0001pt;border:none;
  padding:0in'>I think, therefore I thunk!</p>
</div>

I think, therefore I thunk!


Open link in new browser window

Set the target attribute to "_blank", so a link will open in a new browser window/tab.
Example:
<a href="http://cnn.com" target="_blank">Visit cnn.com!</a>

2006-2011