HTML For the World Wide Web, Elizabeth Castro: Part 4

Chapters 6 & 7. Page Layout & Hyperlinks

Chapter 6 is about styling the layout of your page without css using attributes of for example the <body> tag to set the background colour. All of this is no longer done and this particular example didn’t work in my browser. Some other tags that are no longer part of HTML5 like <center> to center text still worked though. Most of it can be forgotten with the exception of the following tags which are still HTML5.

  • <pre> to have preformatted text displayed with the formatting, for example showing extra spaces and line ends
  • <q> for quotes
  • <blockquote> For block quotes
  • <br> for line ends
  • <hr> for horizontal lines

The chapter about hyperlinks is more up to date but still has some outdated content, like for example the use of the name attribute of tags so they can function as an anchor for hyperlinks. This is now done by using the id attribute instead. The part that discusses how to change the appearance of hyperlinks depending on if they have been visited or not or is being clicked on is now also done with css and pseudo selectors and not the specific link, alink and vlink attributes of the body tag.

A bit of a mixed bag these 2 chapters, quite a bit is still up to date and relevant but basically everything that has to do with changing the appearance is no longer relevant. Exceptions are the dedicated tags that also have some semantic meaning, like <q>, <blockquote> and <pre>.

book cover HTML For the World Wide Web

Leave a comment