HTML and CSS Reference
In-Depth Information
Here are the important points to remember from this chapter:
HTML code consists of markup elements, comments, and character
Markup elements provide the semantic information for user agents to
understand page content. CSS provides instructions for styling and pre-
senting the content.
he Document Object Model (DOM) provides a mapping between
HTML page elements and their content to data objects that can be
manipulated by client-side scripts written in JavaScript and other
Markup elements can have attributes. Attributes change how an element
looks or behaves without changing the semantic meaning of the ele-
ment's content.
here are two types of HTML markup elements—block elements, which
change content low, and inline elements, which do not. A block element
can be loated so that other content wraps around it.
he anchor and area elements create hyperlinks when given an href
attribute with a URL value. Hyperlinks can have relative, root, or full
Inline images are like big characters of text. Unless loated, they are
aligned with their adjacent content and participate in the content low.
HTML5 adds native support for audio and video content. he audio and
video elements provide fallbacks to other methods of media support for
older browsers.
he new HTML5 canvas element gives web developers an interactive
drawing area in which image data can be manipulated with JavaScript.
Search WWH ::

Custom Search