|
Sections: Introduction | Section 1 | Section 2 | Section 3 |
Section Three: Part A | Part B | Part C | Part D | Part E | Part F |
What is a Template Page? A template, in regard to computing, is "a preset format for a document or file, used so that the format does not have to be recreated each time it is used" ("Template Definition", n.d., Def. 1-Computing); essentially a digital cookie cutter. Common HTML TemplatesWeb Designers may create several template pages. For instance, most web designers will create a basic HTML template that includes the ten terrific tags and a comments section. This basic page can be used to create any future HTML document in a more efficient manner as the web designer does not need to spend time adding the basic elements of a properly formatted web page, rather they are already added to the template document. The web designer can update important aspects of the page; to include the <title> of the document and the comments section, save the document as a new HTML file, and begin designing and developing the <body> of the page. Additionally, web designers will also create a design template page that incorporates all of the elements of the basic HTML template as well as aspects essential to a web site's design (i.e. layout, color, navigation, and typography). Comments and What They Are Used ForComments are a programming tool found in almost every programming or scripting language. Comments serve two basic functions:
To create a comment in HTML, the comment tags are used (tag syntax is shown below). Anything listed between the opening and closing comment tag is not displayed in the web browser. HTML comments can be classified as single or multiline comments. Let's See it in Action: CommentsNotice that the text and image listed between the single and multiline comments tags, highlighted in the HTML code, are not visible in the browser window. |
© 2008 KCDL. All rights reserved. |