Presentation is loading. Please wait.

Presentation is loading. Please wait.

Xhtml is “v5.0” An HTML v4.1 Primer chapter 4. Slide 4-2 HTML Elements  Table 4.1 > html elements — container elements — text -- open tag, close tag.

Similar presentations


Presentation on theme: "Xhtml is “v5.0” An HTML v4.1 Primer chapter 4. Slide 4-2 HTML Elements  Table 4.1 > html elements — container elements — text -- open tag, close tag."— Presentation transcript:

1 xhtml is “v5.0” An HTML v4.1 Primer chapter 4

2 Slide 4-2 HTML Elements  Table 4.1 > html elements — container elements — text -- open tag, close tag — empty elements — --no close tag > Elements for Bold and Italic (deprecated) —..

3 Slide 4-3 web page structure I’d rather be.. I’d rather be... … skiing!!!

4 Slide 4-4 STRUCTURING DOCUMENTS > Headings in HTML — h1, h2, …, h6 > HTML Format vs. Display Format: White SpaceWhite Space > Attributes in HTML — …

5 Slide 4-5 white space in html White Space in HTML Any sequence of white-space characters is rendered as a single space. For example, here is one space: and here are five spaces: How are they rendered by your browser? Solutions:..

6 Slide 4-6 MARKING LINKS WITH ANCHOR TAGS > Two Sides of a Link — href + anchor text > Absolute Pathnames (URLs) — UO > Relative Pathnames — Contact Info

7 Slide 4-7 Inline Images (eg) ski.htmlski.html.gif,.jpg,.png image formats

8 Slide 4-8 Inline Images: Alignment Attribute: align Values for wrapping text around images: left, right (but no center) align=“left”  image aligns to the left, text flows around the right side of the image align=“right”  image aligns to the right, text flows around the left side of the image

9 Slide 4-9 Inline Images: Alignment > Jabberwocky w/image & text wrap Jabberwocky w/image & text wrap > Jabberwocky in Wikipedia Jabberwocky in Wikipedia > Jabberwocky in Klingon Jabberwocky in Klingon > Other Translations Other Translations align attribute is deprecated in html 4.01  use CSS float attribute

10 Slide 4-10 HANDLING COLOR Colors by Name (140 ttl) or Number > CSS Standard Color names (16) > extended color names (124) extended color names — introduced by Netscape & supported by all modern browsers > hex triples: chartreuse = #7FFF00 beige #F5F5DC

11 Slide 4-11 HANDLING LISTS W3Schools: HTML Lists

12 Slide 4-12 HANDLING TABLES W3Schools: Tables

13 Slide 4-13 Next: XHTML ?=? HTML v5.0 W3Schools: XHTML


Download ppt "Xhtml is “v5.0” An HTML v4.1 Primer chapter 4. Slide 4-2 HTML Elements  Table 4.1 > html elements — container elements — text -- open tag, close tag."

Similar presentations


Ads by Google