HMTL
|
XHTML
|
An Application of SGML
|
An application of xml
|
Can have empty/open tags ex: <br> <p>
|
All the unclosed tags must be closed
Ex: <br/> <p>
</p>
|
Markup language for displaying web pages in a web browser. Designed
to display data with focus on how the data looks
|
Markup language defines a set of rules for encoding documents that
can be read by both humans and machines. Designed with focus on storing and
transporting data.
|
1990
|
1996
|
Static
|
Dynamic
|
Display a web page
|
Transport data between the application and the database. To develop
other mark up languages
|
No strict rules. Browser will still generate data to the best of its
ability
|
Strict rules must be followed or processor will terminate processing
the file
|
Predefined
|
Custom tags can be created by the author
|
Data does not know itself very well. Data cannot change in response
to environment. Data cannot be easily maintained. Cannot store or call on
variables. Lacks the capability to define new structures by defining
relationships between classes. Tags are not useful for exchanging the
document between applications.
|
Cannot be used as a subtype of a sql_variant instance. Does not support casting or converting to either text or ntext. Does not support the following column and table constraints. XML provides its own encoding. Collations apply to string types only. Cannot be compared or sorted. Cannot be used in Distributed Partitioned Views. Not well supported by browsers. |
Attributes have quotes as
optionale.g. <font color=#ff0000>
|
Attributes have quotes
mandatorye.g. <font color=”#ff0000″>
|
Case insensitive:The tags and
attributes can be of uppercase or lowercase as per the preference
|
Case sensitive:The tags and
attributes must be of lowercase
|
All the content can be put under
body element
|
All the content has to be
put in blocks (p, under body element
|
HTML is not mandatory for one root element.
|
XHTML documents must have one root element.
|
- Blogger Comment
- Facebook Comment
Subscribe to:
Post Comments
(
Atom
)
0 comments:
Post a Comment