Lab 12: Practice with Inline and External Styles
Instructions:
- For this lab you will be revisiting a previous lab and practicing with inline styles and external styles using <link />.
- Make two copies of the old file, naming the copies lab12a.html and lab12b.html
- Do not alter the original (X)HTML file; we want to preserve the original version.
- If necessary, update the Lab 12 files to XHTML 1.0 Strict, with any corresponding (X)HTML code changes necessary to achieve successful validation.
- For the lab12a.html file, use inline CSS to style the page content.
- For the lab12b.html file, use <link /> to call the stylesheet file.
- Now compare the two approaches. Which one was faster to implement? Which one seems 'cleaner' from a code perspective? How do their file sizes compare?
- Link to the two Lab 12 files from your class page and include a link at the bottom of the files back to your class page.
- Upload the revised files to the server and also copy them to your removable media.