YOU MAKE IT. WE MAKE IT WORK.
Coding
Coding Posts and Tutorials
XHTML DocTypes
Jul 23rd
Here I will explain you how to set the Document Type Definition (DTD) of an XHTML web-page. The DTD tag goes at the start of your coding before the starting html tag. There is no end tag or self-closing for the DTD tag.
There are 3 Doctypes usable by an XHTML document. Strict, Transitional, and Frameset. The doctype is used when validating an XHTML document’s content against a DTD to find markup errors. More >
Heading Tags
Jul 22nd
Yes the <h1>-<h6> tags. You need to know them and they are so easy to use! Of course you could use CSS to do the same thing these XHTML tags do but this is so much simpler. More >
IDs and Classes
Jul 18th
IDs and Classes can be mixed up a lot if you do not know what you are doing. You cannot use an ID more than once in an XHTML document or it renders the page invalid. A perfect use for this would be for a banner. Classes on the other hand were designed for to be used multiple times on a page. An ideal class would be for a content heading used numerous times.
Floats
Jul 18th
Floats are basically the same as the align attribute. They are super easy to use! More >
Links
Jul 5th
A link is what guides you though the web. You could, of course, manually type in URLs but this facilitates the whole process. Say for example you want to return to the homepage. What would you do? You would click the home button near the top of the page.
XHTML Code
<a href=”http://valid.xhtmlpros.com”>Valid Coding</a>
Live Preview
Valid Coding
Explanation
The “href” attribute defines the path of the link. Just change that to the target of your link.
Ending your tags in XHTML
Jul 5th
The thing with XHTML is many tags require to be closed that are not closed in HTML. An example is the <br> tag. In HTML it just looks like that, <br>. With XHTML on the other hand it must be closed. To close a tag like this add the / to the end. Now it looks like <br />. This is usually needed for codes without a </tag>. For example <div></div> does not require this.
A Page Break
Jul 5th
The line break tag basically does what the enter key would do in a word processing program such as Microsoft Word.
XHTML Code
<br />

