Jump to content

Decided To Start Learning Xhtm/css And Need Some Help....


Html beginner
 Share

Recommended Posts

Hi all,I decided that I want to start learning XHTML/CSS and I have a few questions because I am confused a lot....1.Which is better to learn currently HTML 4.01 or XHTML?2.Which software(editor) can I use to write down the XHTML and CSS code?It has to be free3.Can money be made just designing XHTML/CSS templates?4.How can I save those files when I am over so I can give them to my customers?In which format?5.Any good site that can explain me how to integrate a CMS?like wordpress,joomla,drupal....6.What is usually an hour rate just for an XHTML/CSS coder?Anything other that I must know and can help me?Any tips you have are welcome.Thanks for your help.

Link to comment
Share on other sites

Hi all,I decided that I want to start learning XHTML/CSS and I have a few questions because I am confused a lot....1.Which is better to learn currently HTML 4.01 or XHTML?both. you need to know HTML first to know the difference between the two. XHTML is just a more polished version of HTML that has a few less tags and a few more rules. Check out the XHTML tutorial on this site, it explains the differences.2.Which software(editor) can I use to write down the XHTML and CSS code?notepad is all you really need. you could get something like notepad++, I think it's free.It has to be free3.Can money be made just designing XHTML/CSS templates?A commodity is only worth the value that someone who wants it will place on it. There are already lots of sites that offer free templates, and generally, if someone likes a sites layout, then can just 'view source' it and grab it, but I'm sure you could make money off of people you know if they like your designs and don't know much about designing. It could be hit or miss, perhaps someone here knows more, or is in the business of designing templates.4.How can I save those files when I am over so I can give them to my customers?In which format?Why can't you just give them the .html/.css file?5.Any good site that can explain me how to integrate a CMS?like wordpress,joomla,drupal....I think the site that offers the service would generally provide the help/FAQ answers to it as well.6.What is usually an hour rate just for an XHTML/CSS coder?About $40-60 an hour or more, depending on proficiency, skill set, and talent.Anything other that I must know and can help me?Any tips you have are welcome.Practice. And code by hand and to standards. Also, to help differentiate yourself, try learning some other practical web languages/programs like PHP/MySQL, Flash, Javascript, Photoshop, etc. Good luck and have fun!Thanks for your help.
Edited by thescientist
Link to comment
Share on other sites

1. HTML or XHTML will work. I preferably use HTML because it has less rules... :)2. NoteTab Light is really good. Lets you switch between windows.3. Sometimes you can make money. But there are free templates.4. .html and .css files will work. If you use other languages then check the W3schools website for those.5. What Scientist said6. 35-60$ an hourAnd also like Scientist said, try learning other stuff aswell.

Link to comment
Share on other sites

both. you need to know HTML first to know the difference between the two. XHTML is just a more polished version of HTML that has a few less tags and a few more rules. Check out the XHTML tutorial on this site, it explains the differences.
You're actually wrong there. It's a common misunderstanding that XHTML is stricter than HTML.XHTML 1.0 Strict has just as many tags as HTML 4.01 Strict. They are alike.The only thing that makes XHTML different from HTML is that all tags must be closed and every element and attribute must be lowercase.Currently, since XHTML is not supported by Internet Explorer it's better to use HTML. By using XHTML with a "text/html" MIME type, the browser is just interpretting your XHTML as badly written HTML. (Adding /> at the end of your <img> tags in HTML is not valid)
Link to comment
Share on other sites

You're actually wrong there. It's a common misunderstanding that XHTML is stricter than HTML.XHTML 1.0 Strict has just as many tags as HTML 4.01 Strict. They are alike.The only thing that makes XHTML different from HTML is that all tags must be closed and every element and attribute must be lowercase.Currently, since XHTML is not supported by Internet Explorer it's better to use HTML. By using XHTML with a "text/html" MIME type, the browser is just interpretting your XHTML as badly written HTML. (Adding /> at the end of your <img> tags in HTML is not valid)
does that include IE8?so in other words, is HTML the better language to write in if you're trying to achieve optimum cross-browser compatibility? or does it only matter in the sense of validation?hah, I questioned putting a "but i might be wrong" disclaimer statement in my post on that question :)
Link to comment
Share on other sites

does that include IE8?so in other words, is HTML the better language to write in if you're trying to achieve optimum cross-browser compatibility? or does it only matter in the sense of validation?hah, I questioned putting a "but i might be wrong" disclaimer statement in my post on that question :)
Unfortunately, even Internet Explorer 8 doesn't accept the official XHTML MIME type.You get equal cross-browser compatibility both with HTML and XHTML as long as both are using Strict DTDs. But there's nothing better about XHTML in any way, at least until Internet Explorer handles its MIME type (application/xml-xhtml) correctly. Then you'll be able to work with XHTML like if it was an XML document.
Link to comment
Share on other sites

Unfortunately, even Internet Explorer 8 doesn't accept the official XHTML MIME type.You get equal cross-browser compatibility both with HTML and XHTML as long as both are using Strict DTDs. But there's nothing better about XHTML in any way, at least until Internet Explorer handles its MIME type (application/xml-xhtml) correctly. Then you'll be able to work with XHTML like if it was an XML document.
Are you saying that you should use DTDs for each language?
Link to comment
Share on other sites

Are you saying that you should use DTDs for each language?
I'm sorry Imgolme, I didn't address you directly. If XHTML is not recognized by one of the most used browsers, what is the use of it? I've read in W3Schools Tutes that we should begin using the lower case and <img /) because XHTML will soon supersede HTML. Does W3C not like EI?
Link to comment
Share on other sites

Are you saying that you should use DTDs for each language?
In order to be valid, a document must have a Document Type Definition associated to it so that the browser knows what language it is trying to interpret.This is the DTD for HTML 4.01 Strict:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

I'm sorry Imgolme, I didn't address you directly. If XHTML is not recognized by one of the most used browsers, what is the use of it? I've read in W3Schools Tutes that we should begin using the lower case and <img /) because XHTML will soon supersede HTML. Does W3C not like EI?
In fact, it's backwards. Internet Explorer has never been completely up to the standards of the W3C.XHTML was intended to supercede HTML a few years ago, but with the HTML 5 draft and Internet Explorer's lack of support for real XHTML, HTML has become the dominant language. Edited by Ingolme
Link to comment
Share on other sites

It is always great to stick with standards.With validators it is not a tough task after all.You will get great results for the small pain that you take to standardize your code.atleast your pages wont break in FF in mac in linux etc.may be the entire web should use html 4.01 strict.

Link to comment
Share on other sites

Just to point out, XHTML 2 and HTML 5 will be substantially different, and when they are both widely supported it will often be a matter of purpose.

Link to comment
Share on other sites

Thanks for all the help guys.I decided,after reading a lot,that I will code in HTML 4.01 strict because XHTML isn't a standard yet and IE doesn't support it.I can easily upgrade to XHTML later.I passed all the lessons about HTML this night(I have some experience with HTML),and ready to learn CSS now.Also took the HTML quiz and had a 18/20 score.

Link to comment
Share on other sites

Actually, since there is both the XHTML 1.0 recommendation and the XHTML 1.1 working draft XHTML can be stated to be "standardised". It just isn't very well supported (and not just by IE).By the way it is more or less pointless to "upgrade" to XHTML because there will be no benefit, unless you use the extra features that are incorporated into it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...