Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Web Application Programming Presented by: Mehwish Shafiq.

Similar presentations


Presentation on theme: "1 Web Application Programming Presented by: Mehwish Shafiq."— Presentation transcript:

1 1 Web Application Programming Presented by: Mehwish Shafiq

2 2 XHTML XHTML standard 1.0 now separates the logical markup from visual markup. XHTML follows XML standards. Is backwards-compatible with HTML.

3 3 Beginning an XHTML Document Type 4 different types of XHTML 1.0 documents. Loose, Transitional, and Strict.  Loose  Transitional

4 4 Here is our first XHTML Webpage Untitled Document

5 5 XHTML Code Description XHTML comments  Start with  html element head element  Head section  Title of the document  Style sheets and scripts body element  Body section  Page’s content the browser displays  Start tag  attributes (provide additional information about an element) separated by comma.  name and value (separated by an equal sign)  End tag 

6 6 XHTML Rules It must syntactically correct according to a document standard (either loose, transitional, strict, or frameset).

7 7 XHTML Rules All elements must be properly nested  Bad XHTML HI!  Good XHTML HI!

8 8 XHTML Rules All tags (including empty) must be properly terminated  Bad XHTML One Two Three  Good XHTML One Two Three becomes

9 9 XHTML Rules All tags must be lower-case. No extra white space by not leaving trailing spaces and separating attributes by one space  Bad XHTML  Good XHTML

10 10 XHTML Rules All attributes must be enclosed in quotes.  Bad XHTML  Good XHTML

11 11 XHTML Rules All images require alt attributes.

12 12 XHTML Tags Font this text appears in blue.. Image Title Tag Web Authoring

13 13 XHTML Tags Header and Body tag Level1 Header Lever2 Header Level3 Header The Paragraph Tag XHTML HTML was Developed in 1991 by Tim Berners-Lee in Switzerland for CERN. It was originally designed for marking up and displaying scientific text.

14 14 XHTML Tags The Break Tag XHTML HTML was Developed in 1991 by Tim Berners-Lee in Switzerland for CERN. It was originally designed for marking up and displaying scientific text.

15 15 XHTML Tags Bold and Italics XHTML HTML was Developed in 1991 by Tim Berners-Lee in Switzerland for CERN. It was originally designed for marking up and displaying scientific text. CSS Cascading Style Sheets, or CSS is used to add style to XHTML pages. XML XML will recognize XHTML pages if properly coded.

16 16 XHTML Tags Using Tables Uses three tags:,, and Row 1 Column 1 Row 1 Column 2 Row 2 Column 1 Row 2 Column 2 Row 3 Column 1 Row 3 Column 2 Row 4 Column 1 Row 4 Column 2 Row 5 Column 1 Row 5 Column 2

17 17 Thank You


Download ppt "1 Web Application Programming Presented by: Mehwish Shafiq."

Similar presentations


Ads by Google