NameSilo

HTML, not XHTML, aren't they different?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
Watch

fshlarge

New Member
Impact
0
Hi!!
just new here..
I wanted to learn HTML, not XHTML, aren't they different?

Thanks!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
HTML stands for HyperText Markup Language
 
0
•••
Learn XHTML it will replace html in the future. Don't step backward, move forward.
 
0
•••
learn xHTML. xHTML IS the future. It's strictier and clearer than the old HTML. There are no major differences when it comes to the syntax , just a matter of using lower case letter in tags (i.e : <html> instead of <HTML> ) , enclosing values with quotes (i.e : <table border="0"> instead of <TABLE BORDER=0>) and some other simple rules.
 
0
•••
I know its stricker but what can xhtml do that html can't?
 
0
•••
XHTML is kind of like a Cro-Magnon. More than HTML, but not yet XML. Like training wheels. It's different from HTML in its rigorous syntax (no more slopping coding). It has standards in modules (one for PDAs, one for mobile devices, etc.). Other than that, it's pretty dang similar. Learn it- it can't be a bad idea.
 
0
•••
brianfast said:
I know its stricker but what can xhtml do that html can't?
nothing.

It's just a better way to code.
 
0
•••
They're basically one in the same - XHTML just allows for a more standardized code that isn't quite as variable as HTML. XHTML is the future IMHO but I think we'll see more as time goes on. It's like a bridge or the next step in the evolution of HTML.
 
0
•••
I would learn xhtml, not html. They are practcally the same apart from a few minor differences. The big difference is that browsers are orienting towards xHTML now. xHTML is basically "cleaner" html. You have to close all tags, and get them right

so: <b><u>hello</b></u> WILL NOT WORK
 
0
•••
You all have it pretty wrong. XHTML is a more structured format and probably a better choice, but most of the time people don't take advantage of it. XHTML is XML that looks like HTML. Any advantages of XML you have with XHTML such as mixed namespace documents.

The problem is that people don't properly served XHTML as application/xhtml+xml, but as text/html. Therefore you just have tag soup! XHTML isn't too different syntax wise, but the stricter rules make it a much nicer product in the end.

Until IE fully supports the application/xhtml+xml MIME type HTML will be a more feasible alternative, although I don't personally like it. You may want to read this:

http://www.sitepoint.com/article/future-html-xhtml

It does show that HTML still has the advantage if you don't properly use XHTML.
 
0
•••
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back