Vous êtes sur la page 1sur 4

Teacher Resource Bank

GCE Computing COMP2: Web page design

Copyright 2011 AQA and its licensors. All rights reserved. The Assessment and Qualifications Alliance (AQA) is a company limited by guarantee registered in England and Wales (company number 3644723) and a registered charity (registered charity number 1073334). Registered address: AQA, Devas Street, Manchester M15 6EX.

Teacher Resource Bank / GCE Computing / COMP2: Web page design

The following information supports COMP2, Section 3.2.6: Web page design, of the GCE Computing specification.

HTML (Hypertext Markup Language) Structure of a web page is

<html><head><title></title></head><body></body></html>
Metadata is information about data. The <meta> tag provides metadata about a HTML document. This metadata will not display on the page. Meta tags are typically used to specify keywords, page description, author. The information provided by metadata can be used by search engines to classify a page. Block-level tags are <div></div>, <p></p>, <hr />, <h#></h#>,

<ol></ol>, <ul></ul>, <li></li>


A Div element is used to divide a web page into sections <div> </div> Inline tags are <span></span>, <strong></strong>, <em></em>,

<br />, <a></a>, <img />


All tags should be written in lower case to comply with the recommendations of the World Wide Web Consortium.

2
Copyright 2011 AQA and its licensors. All rights reserved.

Teacher Resource Bank / GCE Computing / COMP2: Web page design

CSS (Cascading Style Sheets) A style sheet is a collection of rules about presentation. Two kinds of style sheet in the main are used embedded and external. A style rule is made up of three parts, a selector, a property and a value: selector {property : value } Three kinds of selector need to be known: type, class, ID A selector selects the elements on an HTML page that are affected by the style rule(s). Style sheets enable the style of a web pages content to be separated from its structure The following properties should be known: background-color, color, text-align, font-family, font-size, font-weight, font-style

Other Aspects Rule of third layout rule Three web page colour schemes: monochromatic, analogous, complementary colour Candidates are expected to be aware that certain tags follow American spellings and will not work if the English alternative is used. For example color and center. The World Wide Web Consortium provides a free validation service that will check web pages against current HTML and CSS standards. This is a useful tool to demonstrate what the W3C recommendations are and also how many websites do not comply with current standards. The unified validator can be found at: http://validator.w3.org/unicorn/ .

3
Copyright 2011 AQA and its licensors. All rights reserved.

Teacher Resource Bank / GCE Computing / COMP2: Web page design

Copyright 2011 AQA and its licensors. All rights reserved.