HTML documents should be formatted according the
general formatting rules specified in 3.2 Coding Format and according to the rules from this chapter.
Switch off all formatting support from Visual Studio,
because it makes often a mess.
If reasonable, put every HTML block opening element
and closing element on its own line if they contain other HTML elements. Indent
whatever they contain on another line:
<table id="Table1" cellSpacing="0" cellPadding="0"
width="100%" border="0">
牋?<tr>
牋牋牋?<td>
牋牋牋牋牋?some
text
牋牋牋牋牋?<asp:Panel
id="NameboxPanel" runat="server">
牋牋牋牋牋牋牋?some
more text
牋牋牋牋牋牋牋?<table>
牋牋牋牋牋牋牋牋牋?
<tr>
牋牋牋牋牋牋牋牋牋牋牋?
<td>something</td>
牋牋牋牋牋牋牋牋牋牋牋?
<td>something else</td>
牋牋牋牋牋牋牋牋牋?
</tr>
牋牋牋牋牋牋牋?</table>
牋牋牋牋牋?</asp:Panel>
牋牋牋?</td>
牋牋牋?<td>
牋牋牋牋牋?<img
src="IMAGES/PeterMonkey.jpg">
牋牋牋?</td>
?牋</tr>
</table>
HTML is not case sensitive. Unluckily, generated
HTML code is created sometimes in upper case, sometimes in lower case. It would
be too much work to reformat all generated code, but manually entered HTML code
should be written in lower case.
Since peterBox.com is not a commercial website, it抯
not necessary to support all browsers. We will 燾oncentrate on Microsoft
Internet Explorer 5.0 and above, however most pages display properly also in
other browsers.
???
Chapters Overview