tags follow the closing tag. Here, you place the structure and content of the page: ... png” alt=”Cool Shoes & Socks” />
is given the ID header, the class group and the role banner.
Generated code is almost always bloated (more code than needed) and doesn’t exercise the best practices you learn in this book, leading to a poor experience for the visitors to your website. Should your text editor also come with a WYSIWYG editor (such as Adobe Dreamweaver), that’s fine; just choose to ignore it and make use of the text editor feature instead. C H A P T E R O N E U N D E R S TA N D I N G C S S A N D T H E M O D E R N W E B 17 If you don’t already have one, I recommend using a basic text editor to begin with.
As a website grows, using naming conventions such as these makes finding your files quicker. Of course, these are only my personal preferences; you may like to use different naming conventions or folder structures that work better for you. html) is written in HTML5. Because you will build on and style one page in CSS3 Foundations, links to other pages are only included to represent and demonstrate a real-world web page. href links are given the value #, which means the page only refers to itself.