Académique Documents
Professionnel Documents
Culture Documents
uk
CSC1014
CSC1014
JISC Netskills
CSC1014
JISC Netskills
CSC1014
Elements (Tags)
Attributes
JISC Netskills
CSC1014
CSC1014
Presentation-oriented markup
Web pages have:
Structured content An appearance (or presentation) (Optional) behaviour(s) Confusion of structure with style Presentation of each page must be managed separately Users cannot consistently adapt pages Evolution and extension is difficult!
JISC Netskills
CSC1014
Separation of concerns
Content (in XHTML)
The information conveyed by a page Meaningful structure (section headings, paragraphs, emphasis etc.) and subject matter tags and attributes for presentation removed from standard (deprecated) The appearance of a page (fonts, multi-column layout, colours, alignments etc.) To respond to user input To manage external data manipulation and browser inconsistencies
JISC Netskills
CSC1014
Benefits of separation
Separation of content from presentation tells you (and your device) something meaningful about a page independently of its appearance
Semantic markup versus stylistic instructions Heading level versus large font Strong emphasis versus bold New paragraph versus line break
JISC Netskills
CSC1014