cis 1315 – web development for educators cis 1315 html tutorial 9: working with xhtml
TRANSCRIPT
![Page 1: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/1.jpg)
CIS 1315 – Web Development for Educators
CIS 1315
HTMLTutorial 9: Working With XHTML
![Page 2: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/2.jpg)
CIS 1315 – Web Development for Educators
Document Type Definition (DTD)
Content & Structure Rules Transitional
Supports: Presentational Features of HTML Deprecated Elements Deprecated Attributes
Strict No Support For:
Presentational Features of HTML Deprecated Elements Deprecated Attributes Frames
![Page 3: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/3.jpg)
CIS 1315 – Web Development for Educators
Well-formed Documents
![Page 4: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/4.jpg)
CIS 1315 – Web Development for Educators
Well-formed Documents
![Page 5: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/5.jpg)
CIS 1315 – Web Development for Educators
Well-formed Documents
Prohibited Attributes
![Page 6: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/6.jpg)
CIS 1315 – Web Development for Educators
Well-formed Documents
Required Attributes
![Page 7: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/7.jpg)
CIS 1315 – Web Development for Educators
Well-formed Documents
Use Correct Structure
XHTML
html
head
title
body
![Page 8: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/8.jpg)
CIS 1315 – Web Development for Educators
<?xml>
Indicates Document Adheres to XML
Attributes
version=“value”
encoding=“type”
Indicates Character Set
standalone=“yes | no”
DTD Within Document
<?xml version=“1.0” encoding=“UTF-8” standalone=“no” ?>
![Page 9: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/9.jpg)
CIS 1315 – Web Development for Educators
<!DOCTYPE>
Indicates what DTD is Associated with Document
XHTML Transitional<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
XHTML Strict<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
![Page 10: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/10.jpg)
CIS 1315 – Web Development for Educators
Namespace Attribute
Attribute of <html>
Unique Identifier of a Particular Document Type
XHTML
<html xmlns="http://www.w3.org/1999/xhtml">
![Page 11: CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 9: Working With XHTML](https://reader036.vdocuments.mx/reader036/viewer/2022082818/56649e7d5503460f94b8094a/html5/thumbnails/11.jpg)
CIS 1315 – Web Development for Educators
Validation
http://validator.w3.org
Indicates Whether Page is XHTML Valid
http://jigsaw.w3.org/css-validator/
Indicates Whether Page is CSS Valid