difinition of html & xthml

4

Click here to load reader

Upload: l15338

Post on 05-Jul-2015

222 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Difinition of html & xthml

HTML is a type of text code that tells browsers how to display a page on your screen. This code, sometimes called "markup", uses "tags“ (which, when embedded in a document, allows that document to be read and distributed across the Internet) that instruct a browser to make text a certain size or style, display an image, or link to another page or web site.

Page 2: Difinition of html & xthml

Disadvantages Advantages

It takes a long time to create a website

Easy to create a website

It isn't as flexible as other website

developers such as Dreamweaver etc.

Its plain text so its easy to edit

If you want to change one thing as in the

house style you have to find all the webpages and edited separately

Faster to download because the text is compressible

Can be used to present almost about anything on a webpage

Page 3: Difinition of html & xthml

• XHTML is a version of HTML modified to conform to the XML standard

• Designed to separate content from presentation– Content in XHTML– Presentation controlled by Cascading Style Sheets (CSS)

• Extensible – Additional elements can be defined• XML Compatible – Other XML based languages can be embedded

in XHTML documents• Like a programming language

– Specific syntax to use– Validates help you get it right

Page 4: Difinition of html & xthml

• Case is significant• All elements must have begin tags and end tags <p>Hello</p>• Empty elements contain their own end tag

<br />• Attribute values must be enclosed in quotation marks

XHTML is a new version of HTML that has a valid XML cold.

XML is the language we can use that style to store any type of data, so XHTML can store data more efficiently than HTML