2.5 HTML5 and CSS3: Creating and Using Templates to Create a New Page

2.5 HTML5 and CSS3: Creating and Using Templates to Create a New Page


In this video, we will go over how to create a template file
so that new web pages can be easily constructed. First, we can remove the title from the page, so that we
are free to name it whatever we want later on. Locate the span tag with the class “header” applied
to it and delete the text “Home”. Next, highlight the closing and opening tags for the paragraph
with the class “welcome” applied to it and press the Delete key. We won’t be needing this text in our template. To save this file as our template, click the File menu and select Save As. In the File name box, type template.html. Then, click the Save button.

Leave a Reply

Your email address will not be published. Required fields are marked *