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

Xhtml

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