While such side effects may work well in your favorite browser, they may also work terribly in a different browser. It's best to live within the limitations of the current HTML specification . If standard HTML doesn't provide a way to do directly what you want, don't try to force it. Now, we proceed to the details. Layout From my experience as a computer scientist, I have learned that the layout of computer code, include HTML, is quite important.
Readability is the key concept.
Based on this lesson, I have developed a style of HTML layout that departs radically from the conventional practice, for good reason. The conventional style is hard to read with all the HTML tags jumbled in among the text intended for on-screen display. Each HTML tag appears on its own line and is indented one tab stop, and text for on-screen display appears on lines in between the lines containing the tags. The tags are spelled in all lower-case letters. In addition, to the degree possible, no line containing either an HTML tag or on-screen text is longer than 80 columns.