Week Eight lecture notes (MGDP2050)
From Wiki @ Karl Jones dot com
Revision as of 06:01, 2 April 2016 by Karl Jones (Talk | contribs) (Created page with "Lecture notes for Week Eight (MGDP2050). == HTML and semantics == In principle, the role of HTML is to provide semantics (meaning). In practice, HTML is a mix o...")
Lecture notes for Week Eight (MGDP2050).
Contents
HTML and semantics
In principle, the role of HTML is to provide semantics (meaning).
In practice, HTML is a mix of semantic and non-semantic elements.
Semantic HTML
Semantic HTML refers to HTML that is entirely semantic (or perhaps "very semantic with acceptable compromises").
Bold versus strong
Earlier versions of HTML specified a bold element, to make text display in boldface.
HTML 4 also specified a strong element, intended to replace the bold element.
Both elements are valid in HTML5.
Italic versus emphasis
Earlier versions of HTML specified an italic element, to make text display in italicf.
HTML 4 also specified an emphasis element, intended to replace the italic element.
Both elements are valid in HTML5.
JavaScript
Recognizing JavaScript
Using JavaScript
Script element
- Use the script element to include JavaScript in a web page.
Debugging JavaScript
- See the browser console for JavaScript error messages and other browser-related tools.
JavaScript Validation
jQuery
- Review jQuery