Download presentation
Presentation is loading. Please wait.
1
Creating Web Documents
XHTML
2
History XHTML is the latest version of HTML
'cleaned up' to be an XML language eXtended Markup Language: general standard May prove more robust for new uses browser settings for general language, character coding browsers for web phones readers for special browsers for disabled other
3
Terminology Markup elements have
start tag start tag may have attributes content may include other elements as well as text end tag <a href="next.html">Continue </a>
4
Requirements <?xml version="1.0" encoding="iso "?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " <html xml:lang="en" lang="en" xmlns=" Just copy this to top of document
5
Requirements proper nesting of tags tag names all lower case
all tags have start and end tags including <p> and <li> empty tags (singletons) written with closing <br /> attributes enclosed by quotation marks document had head and body elements, head element also contains a title element
6
Entity references Produce symbol or indicate action by browser
& The ampersand symbol & < The left pointy bracket < stands for non-breaking space. Will insert a space, unless there is a line break. © The copyright symbol Suggest a best point for a hyphen.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.