Friday, January 17, 2014

The Tags Should Make SENSE!

From the book I introduced to you yesterday, I also learned that the World Wide Web Consortium, W3C for short, supervises all developments of web technologies. You can find a very accurate answer on what HTML and CSS are from their official website.
HTML (the Hypertext Markup Language) and CSS (Cascading Style Sheets) are two of the core technologies for building Web pages. HTML provides the structure of the page, CSS the (visual and aural) layout, for a variety of devices. Along with graphics and scripting, HTML and CSS are the basis of building Web pages and Web Applications.
It's very important to use HTML for the structure of the page, and only the structure. For example, you should tag the main title with <h1> because it makes sense because it is structurally the most important thing on the page.

I worked on a simple exercise from the book and if you look at the HTML code I wrote below, you'll see that, structurally, the tags all make sense, with <h1> for the title, then <h2> for the subheadings, and then <p> for the descriptions/paragraphs. Meanwhile, the style element uses CSS to specify the font, etc.:


That means that if you think <h2> is too big, don't switch it to <h3>; just go to the style element and make the font-size for h2 smaller!

Here is what the website looks like:


Have fun web designing!

No comments:

Post a Comment