Difference between revisions of "Week Eight lecture notes (MGDP2050)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(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...")
 
(jQuery)
Line 52: Line 52:
  
 
* Review [[jQuery]]
 
* Review [[jQuery]]
 +
 +
== jQuery UI ==
 +
 +
Class discussion:  [[jQuery UI]].

Revision as of 10:15, 5 April 2016

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 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

Debugging JavaScript

  • See the browser console for JavaScript error messages and other browser-related tools.

JavaScript Validation

See JSLint and JSONLint.

jQuery

jQuery UI

Class discussion: jQuery UI.