Dear Fellows please help me to know as follows: 1.Is it necessary to learn Html 4.0 first or we just learn XHTML? 2.What is difference between HTML or XHTML and XML. Is XHTML and XML is same? 3.Is it possible that we can make a simple web site without using or learning CSS just using XHTML? 4.In the CSS how we use the style in one page or even one paragraph two different style is that possible. I am confused so much.If supose we use one style in Paragraph No.1 and we want to use different style in Paragraph No.4 and again want to use the same style which we used in Paragraph No.1 Is Css made just for one style? I mean supose we want to use different fonts and different sizes in all different Paragraph is that possible? since using CSS style only we can see same type of font and same size and same color while using simple HTML we can easily mantain font sizes,color,type so what is the use to use CSS. I know in some cases CSS is good use. Please clear me actualyl what purpose CSS is usefull or what is the benefits of Css ? 5.Is it necessary to use tables to locate certain images,graphics, or text to to certain location? or How we can Locate images exactly where we want.? 6. If there are three colomn section on the Page so do we have to write html for starting with first colomn and finish it first? Please explain me in detail so I am able to clear my cofusen, clear the understand. thanks.
I would start off with HTML 4.01 -- less typing: simpler DOCTYPES and no need to worry about closing tags or escaping character expressions, etc. There is one great advantage in using XHTML versus HTML -- the well-formedness requirements make for better structured Markup for those who do not normally employ that principle when composing HTML pages. However, there is no advantage whatsoever in using valid XHTML 1.0 served as text/html versus well structured, well formed and valid HTML 4.01. Of course, XHTML should be served as Content (MIME) Type application/xhtml+xml -- otherwise it is just really HTML using XHTML syntax --check this reference for an explanation. James
I'd just jump right into XHTML. The only real difference is the syntax, but it's no more complicated than HTML. If you plan to learn XHTML eventually then you might as well just learn the syntax from the get go.
Yea, I would go for xhtml as well,there isn't that big of a difference. I believe learning it would be about the same time.
I think there is no need to read html 4.01 first... you could directly start xhtml by the way xhtml is good in comparison to simple html because it does support lates browsers too.
Not true. It has the same amount of tags, or less - I don't know if depreciated tags are in the xHTML Transitional doctype.
I'm surprised how long HTML has stayed in the game. XHTML has many advantages, especially cleaner markup. I would recommend that beginners start learning XHTML to build good habits and then learn about the differences in HTML.
I am still confused. what I understand is there are the same 99.99% but I still don't know what is major difference except closing tags?, that is nothing. is there are extra tags in XHtml? Every where it is writen only about closing tags but I can't see any other difference.
XHTML also is case sensitive, where html is not. <P> or <p> is valid html. <P> is not valid xhtml. All element names and attributes are only lower case in xhtml. There is no advantage to one or the other as long as you must support all major browsers. Syntactically correct html is just as "clean" as syntactically correct xhtml. XHTML has the advantage only if you can serve the pages to a user set guaranteed not to use IE. (Even Lynx, a text only browser groks xhtml). In my case, I do author/maintain an IE-free LAN website that takes advantage of the xml capabilities of serving xhtml as application/xhtml+xml. I you're just starting, learn to use html properly and forget xhtml. MSFT's obdurate refusal to support this nearly 10 year old standard has effectively killed it in its present form. Get your html4 down pat, 'cause html5 and xhtml5 are around the bend. (I suspect, from traffic on the whatwg mail list that IE will lag as much as ever. Look for Opera, Webkit/KHTML {Safari} and Gecko {Firefox} to be ready to roll when the RC is published.) cheers, gary
Quite right. For more information check the Google Code Blog Interview with Ian Hickson on X/HTML 5. Be sure to check the full writeup link. James