HTML Standards
- HTML Syntax
- Referencing Other Files
- Images
- File Size
- File Directory Structure
- File Names
- Comments
- Frames
- New Browser (child)
- Windows
- Special Character Coding
- Use style sheets.
- Do not use deprecated tags such as <font> and <center>.
- Be sure all documents are well-formed (proper nesting).
- Lowercase all elements and attributes (e.g., tags).
- Close all nonempty elements (<p> </p>).
- Quote all attributes (<p align="center">...</p>).
You can check your HTML Syntax by using the W3C's Validator. Choose iso-8859-1 (Western Europe) for the "Encoding" type.
<a href="contact.html">Contact Information</a>If you are linking to another department's web page then use the full HTML address:
<a href="http://www.vcu.edu/department/">Department</a>
<img src="image.gif" alt="Image description">
File Directory Structure
File Names
Comments
<!-- This is to provide a description of the code on the page -->
You can also use comments to break up the HTML code
into sections
<!-- Current Events Section -->
Frames
New Browser (child)
<a href="webpage.html" target="_blank">Some Webpage</a>
Or you can use JavaScript to open the page in a
new window:
<SCRIPT LANGUAGE="javascript">
<!--
window.open ('page.html')
-->
</SCRIPT>
If you want to customize the new
window then here is the sample code with all of the different
customizable options:
<SCRIPT LANGUAGE="javascript">
<!--
window.open ('titlepage.html',
'newwindow', config='height=100,
width=400, toolbar=no, menubar=no,
scrollbars=no, resizable=no,
location=no, directories=no,
status=no')
-->
</SCRIPT>
Special Character Coding
