html5 and css3 Complete - Unit B
html5 and css3 Complete - Unit B
45 Marsh Grass Ln. - Marble, MN 55766 - (218) $$8-3252
tag, then press [Spacebar] three times or as needed to create an indent Becauise you are adding a parent element, you increase the indentation of tags for child elements to keep your code readable. Compare your code to FIGURE, which shows the code containing the new div element. 6. Save your document, return to your browser, then refresh or reload aboutus.html in your browser ‘As shown in FIGURE B-6, the appearance ofthe page in the browser does not change. Because the div ‘element is used for structuring code, adding the div element to the document does not change the way the document is rendered. The document looks the same after the div element is added as it did before. Many users want a proces of finding and consuming web content with the goal of removing hal the words. This helps focus your that is dynamic and fast-paced. When you write content forthe \witng and reduces the content of your web page tothe essential, web, you should keep ths in mind, Web content should generallybe which makes it easier fr web users to scan and rad. brief and scannable. A user should be able to get the gist of what ‘ter you publish content onlin, it's crucial to keep it up to your page contains with a quick glance. his allows ser to quickly _date—outof date information makes your website's content sem decide to tay on the page ifthe page contains the information Unreliable. You can minimize the amount of regular updating you they/'e looking for, orto navigate elsewhere and keep looking, You need to do by reducing or eliminating relative references to dates, ‘an make content scannable by incuding a shor, descriptive head- (such as “5 years ago” or “in 18 months") or labeling specific ing at the top, and by breaking the content itsef into sections with _ dates as being inthe future (such as “The building will be headings. After writing the actual content, itcan be useful toreviseit completed in 2013.") HED St cturing Content in a Web Document(Code containing new civ element 1 2 3
_iakeiand Reeds is an ideal place to unplug from your daily routine. We're Inexe to help you get the most out of your time with us, from cances and life lvests for a day out on the lake, to DVDs and popcorn for a quiet evening in. We Look forward to welcoming you!
45 Marsh Grass Ln. - Marble, MN 55764 - (218)
tag, then press [Spacebar] three times or as needed to create the indent 8. In the head section, click after the tag, press [Enter], press [Spacebar] six times or as needed to create the indent, then type A script element references an external script file whose name is specified as the sre attribute value. FIGURE B-8 shows the completed code. 9. Save your document, return to your browser, then refresh or reload aboutus.html Like the div element, semantic elements do not change the page's display in a browser. 10. If you have access to Internet Explorer 8 or an earlier version of Internet Explorer, use it to open aboutus.html Because of the script element you added to the document's head section, the document is displayed correctly in older versions of Internet Explorer Structuring Contentin a Web DocumentFIGURE 8-7; Wireframe for Lakeland eds Aout Us page Pageheader —-—>| Lakeland Reeds Bed & Breakfast description of amenities “content | Page footer —1—>] contact information SRetemnene FIGURE B-8: Code with semantic elements and script element Date: today’s date —————— BIMES and CSS3 Tilustreted Cait 3, Attribute value se enclosed in neta charset="utf-8"> Sieglot sfotodesnixs canton 6204.30" nript>-t $$ pleas |
Atribute name feheadex> ‘hi>Lakeland Reeds Bed and Breakfast | kneader> ‘ “lakelend Reeds is an ideal place to unplug Your/daity routine. We're here to help you get the most out of your from canoes and life q vests for a day out on the lake, to DVD ‘a quiet evening in. We look forward to welcoming you!
45 Marsh Grass In. 6#82%6; Marble, MN 55764 648226; (218) 5$5-5253
lakeland Reeds is an ideal place to unplug from your daily routine. We'ze here to help you get the most out of your time with ue, from cances and life vests for a day out on the lake, to DVDs and popcorn for a quiet evening in. look forward to welcoming you!