CSS // Website Proposals Navigation Proper Techniques <nav> tag encapsulates only primary menus. Best practice to use <li> for each menu item. <nav> <ul id="mainmenu"> <li><a href="index.html" title="Introduction">Home</a></li> <li><a href="/about" title="The Company">About</a></li> <li><a href="#more" title="What We Offer">Products</a></li> <li><a href="./contact.html">Contact</a></li> </ul> </nav>
CSS // Website Proposals DOCTYPE Declaration HTML5: <!DOCTYPE html> HTML 4.01: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Defines how the document should be interpreted HTML5 is not based on SGML (like past versions) Does not require DTD reference Document Type Definition (DTD)
CSS // Website Proposals Header Components Title, Meta, Link, Script Define supporting files (CSS, JS, Favicon) Describe the document content Enhancements (JS) should be in footer Usually before the closing HTML tag
(W3C) Three levels of compliance (A, AA, AAA) Content must have alternate means to understand it Covers: text descriptions, contrast, syntax, etc. http://www.w3.org/WAI
for creating Other software generates questional code Crop, resize, optimize images Multiple DOCTYPEs supported WYSIWYG Live View and Live Code Inspect design and much more
CSS // Website Proposals CSS Selectors tag { color: #FF0000; } .class { background-color: rgb(255,255,255); } #id { background: rgba(0,0,0,0.5); } Elements do not require a prefix Class requires a period (.) prefix ID requires a hash (#) prefix
CSS // Website Proposals CSS Properties tag { color: #FF0000; } .class { background-color: rgb(255,255,255); } #id { background: rgba(0,0,0,0.5); } Properties specify what style is changed The color property is applied to the font The background property is shorthand for background-color
CSS // Website Proposals CSS Values tag { color: #FF0000; } .class { background-color: rgb(255, 255, 255); } #id { background: rgba(0, 0, 0, 0.5); } Values change the default behaviour of a property There is a difference between rgb and rgba
left; margin: 10px 10px 10px 0; width: 200px; height: 200px; } <p>Lorem ipsum dolor... </p> <p><div class='left'></div> Molestias, impedit...</p> <p>Officialis...</p> What is the total width of the red box? How about the height of the red box?
CSS // Website Proposals Wireframes Design Prototyping Provides perspective and causes a client to be intrigued Include anything that helps the vision: Units, dimensions, colour swatches, font samples, written ideas, icons, UX elements
CSS // Website Proposals Sitemap Design Organization Visually represents site structure, document requirements and hierarchy There is also a sitemap file used to help spiders find all the content of your site Include filenames, page titles, linking structure and comments on pages
project Provides a concept, is not meant to represent final product 100% Provide something polished that would pursuade the client to use your services