Exercise 2-3 Start a new web page
In (his e\ercise, you'll start HTML and CSS files from templates in this folder:
For Aptana users, this will be in the project named HTML5 Exercises.
Start your files from templates
1. Create a new HTML file named testpage.html from the template named template.html. If you're using Aptana, you can use the first procedure in figure 2-9. Otherwise, you can use the second procedure in this figure.
2. Create a new CSS file named testpage.css from the template named template. css. If you're using Aptana, you can use the first procedure in figure 2-11. Otherwise, you can use the second procedure in this figure.
Add some content to the HTML file and test it
3. In the title element, change the content to "Test page".
4. In the link element, enter "testpage.css" for the value of the href attribute.
5. Add an h I element to the body of the HTML file that says: "This is a test page." Then, save the file, and test the page by running it in Chrome, Firefox, or IE.
6. This illustrates how fast you can get started with a new web page when you start the html and css files from templates. Now, if you want to add more elements to the HTML or more rules or rule sets to the CSS, give it a try.
7. When you're through experimenting, close the files in your editor.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.