HTML and CSS Reference
In this Try It you learn how to use the HTML Validation Service.
You will need a previously created CSS file, a text editor, and a web browser.
Open your favorite browser.
When the Markup Validation Service appears, click the Validate by File Upload tab.
Click Browse and navigate to the thoreau.html file in the Lesson 9 exercise files.
Note the problem found on line 49 (heading cannot be a child of another heading.)
Open thoreau.html in your text editor and go to line 49, which reads
<h2 id=”government”>On Government<h2> .
Change the final <h2> tag on the line to </h2> .
Save your file.
In your browser, click the Back button to return to the Markup Validation Service: Validate
by File Upload page.
Note that no errors are reported, as shown in Figure 9-2.