Xhtml

526 views
466 views

Published on

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
526
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Xhtml

  1. 1. Web Development with XHTML
  2. 2. Who has used HTML? Who has used XHTML? What’s the difference?
  3. 3. XHTML is… <ul><li>e X tensible H yper T ext M arkup L anguage </li></ul><ul><li>a W3C Recommendation </li></ul><ul><li>evolved from HTML (4.01) to comply with XML syntax rules </li></ul><ul><li>stricter and cleaner than HTML 4 </li></ul><ul><li>evolving into HTML 5 </li></ul>
  4. 4. CSS provides visual design XML provides data XHTML delivers content to browser
  5. 5. Learning XHTML <ul><li>First learn HTML </li></ul><ul><li>Then apply XHTML rules: </li></ul><ul><ul><li>tags must be properly nested </li></ul></ul><ul><ul><li>tags must always be closed <br /> </li></ul></ul><ul><ul><li>tags must be lowercase <ul> not <UL> </li></ul></ul><ul><ul><li>tag attributes must be in quotes </li></ul></ul><ul><ul><li>mandatory header elements must be included </li></ul></ul>
  6. 6. Development Process <ul><li>Edit HTML in text editor </li></ul><ul><li>Save as .html or .htm file </li></ul><ul><li>Open file from Web browser </li></ul><ul><li>Further edit HTML in text editor </li></ul><ul><li>Save </li></ul><ul><li>Refresh page in Web browser </li></ul>
  7. 7. Development Process <ul><li>Development typically takes place on local PC </li></ul><ul><li>Finished Web site is uploaded to server (staging or production) </li></ul><ul><li>Changes to Web site are made on local machine and uploaded when completed </li></ul><ul><li>Two copies of the Web site are maintained, one local and one on server. </li></ul>
  8. 8. Development Process <ul><li>Web development tools are often used to simplify the development process. </li></ul>

×