Download presentation
Presentation is loading. Please wait.
Published byNoel Hensley Modified over 9 years ago
1
HTML & XHTML Introduction
2
First HTML 1992 Marked-up text to represent a hypertext document for transmission over the network The hypertext mark-up language is an SGML format SGML The 1st web page was created1st web page
3
Versions of HTML - HTML 2.0 1996 Can represent hypertext news, mail, documentation, and hypermedia; Menus of options; Database query results; Simple structured documents with in- lined graphics
4
HTML 3.2 Tables, applets, text-flow around images, superscripts and subscripts Provided backwards compatibility with the existing HTML 2.0 Standard.HTML 2.0 Standard
5
HTML 4.0 & 4.01 Supports more Multimedia options Scripting languages Style sheets Better printing facilities Accessible to users with disabilities Internationalization of documents Last of HTML
6
XML eXtensible Markup Language Developed by the W3C A subset of SGML constituting a particular text markup language for interchange of structured data A flexible way to create standard information structure Share data & structure over the Web
7
Example XML file CSS file More at http://www.xml.com/http://www.xml.com/
8
Sample XML <!DOCTYPE Video [ ] > 1996 Mission: Impossible Brian De Palma Action Tom Cruise Emmanuelle Beart 110 PG-13 2004 Home on the Range Will Finn Comedy G.W. Bailey Roseanne 76 PG
9
HTML + XML XHTML Extensible Hypertext Markup Language Application of XML Successor to HTML Reformulation of HTML 4.0 in XML 1.0 Stricter remaking of HTML Deprecated tags – phasing out some tags from HTML 4.01 Deprecated tags
10
Rules of XHTML Use all lowercase letters for tags Nest elements correctly This is wrong. This is right.. Always use end tags End empty elements Error in page 57 in the textbook
11
Rules of XHTML (cont.) Use quotation marks for values Give every attribute a value Use code for special characters .
12
Rules of XHTML (cont.) Use id insead of name Put styles and scripts in separate file Declare DOCTYPE Resource: http://personalweb.about.com/od/basichtml/a/409xhtml.htmhttp://personalweb.about.com/od/basichtml/a/409xhtml.htm
13
Template TITLE OF PAGE GOES HERE CONTENT OF PAGE GOES HERE.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.