Xhtml Tutorial 1 – Basic Syntax
Tuesday, January 26th, 2010
The basic syntax of xhtml
Please message me for help.
Duration : 0:7:19
The basic syntax of xhtml
Please message me for help.
Duration : 0:7:19
I have a liberal arts background, and never really studied higher mathematics or computer science. However, I have got into designing basic websites for people lately, using Dreamweaver and some other WYSIWYG programs. I know I need to break out of that, and start learning the programming languages necessary to design dynamic websites and interactive e-commerce solutions. How do I get my head around programming languages like PHP, though?
I’m not sure about Perl, since I’ve never done it, but these sites may be useful.
http://us3.php.net/ – PHP’s manual. Unlike most manuals, this is REALLY helpful.
http://www.w3schools.com/ – A GREAT website with examples and explains things thoroughly.
http://en.wikipedia.org/wiki/ – I use this a lot for MySQL. Just go to an article like this: "Syntax (SQL)." For instance, for the INSERT syntax, it would be http://en.wikipedia.org/wiki/Insert_(SQL)
I need to know what is the different between HTML and XHTML. Is Xhtml have more tags than HTML.
XHTML is *not* a new version of HTML. It is a formulation of (the *same* version of) HTML in XML. XHTML1 is HTML4 expressed in XML.
HTML5 is *not* competing with XHTML. HTML5 can be expressed in XML — just like HTML4 can be expressed in XML — and is referred to as XHTML5.
Moreover, The HTML version of HTML5 allows syntax such as /> to ease migration from “xhtml-as-text/html” (which I suspect is what you are discussing here) to HTML5. So it should be trivial to migrate even if you use XHTML-like syntax. No need to worry about it.
BTW, your template doesn’t tell browsers that the document is XHTML not HTML. To do that, the server must declare an XML MIME type for the file. If you use text/html, browsers will interpret it as HTML, regardless of what it looks like.
take care
This is a short video that explains four basic rules for coding Xhtml. Most validation errors can be avoided if these rules are followed.
Duration : 0:8:41