"The <table> tag was a great addition to the HTML language, especially useful for displaying scientific results data, but it quickly became an innocent victim in a nefarious plot to twist the usage of the HTML language, resulting in the dot com collapse of the year 2000, and the loss of thousands of web-related jobs. Well, not really... However, web authors did see something in the <table> tag that it was not intended for: a <table> could be used to create multiple column web page layouts."
My first book to read is Cascading Style Sheets: Separating Content from Presentation, which the quote above is from. I read the first 2 chapters yesterday and when I read they history of the webpage and how the tags were created, I realized that I was a bad coder (according to their terms). I have been using tables for layouts for years and I agree with them that it is ugly and complex code that ends up looking nice but hard to manage. The book has pointed out so interesting facts about HTML vs HTML with CSS. A simple 2 column and 4 row table with font, paragraph, etc. tags can be about 2000+ lines of code but with simple CSS you can create the page with only 900.
CSS is the proper and more effiecent way to formate webpages. CSS allows for you to set a standard appearance to the webpage's text, backgrounds, layout, and more, which is implemented in every page by calling the file. If you wish to make modifications to the website such as changing the color of links, you just have to modify the CSS file not all the pages.
Goals for this week:
- Create a layout design for my webpage
- Finish the banner for the page
- Create a generic and simple CSS template