XHTML

| Home | TOC Gray | Bottom |

Het doel van anker binnen een pagina wordt aangeduid met id in plaats van met name: Dit advies wordt door de XHTML-validator echter als fout aangerekend!

<a href="#link">Link</a> ... <a id="link">link</a>

Foef voor onder aan elke pagina van een boekje:

Page 2 of 34

Previous Page      1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34      Next Page

Example of a More Complex HTML Document

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Add Your Page Title Here</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Description" content="Your page description" />
<meta name="Keywords" content="Your keywords for the page" />
<meta name="Author" content="Author Name" />
<meta name="Copyright" content="A brief copyright statement" />
<meta name="Distribution" content="Global" />
<meta name="Expires" content=" 23-07-2006 11:55:07 GMT" />
<meta name="Revisit-After" content="number Days" />
<meta name="Robots" content="index,follow" />
<link rel="stylesheet" type="text/css" href="stylesht.css" />
</head>
<body>
<p>The content of your document goes here. </p>
</body>
</html>


Links and anchors introductie Top


The "bgproperties="fixed" bit is a bit of Microsoft Internet Explorer only HTML that is supposed to "fix" the background and allow anything/everything else to "float" over it. I would seriously doubt that would cause any interference with the header and footer scripts.

Another way to do it is in the tag place "background-image: url(yourbackground.jpg); background-attachment: fixed;". However I can't swear this works as planned in IE. The only page I have this on has both so it may not. I don't remember why I used both methods. IE doesn't always play nice with stuff like this.

IF you have one (1) very large background image, or a very small tiled image that looks like a single large image, it can be a really nice 3D effect.

Please feel free to skip if your not interested!

Back in the dawn of web page creation/HTML Standards Microsoft, in a bid to dominate the browser market and the World Wide Web, made up their own "standard" for HTML codes. Thats the origin of the "Best If Viewed With Internet Explorer" icon.Top


Character entity reference HTML: character entities


Je website laten beoordelen in diverse browsers
browsershots.org


17-6-2008 IE 8 komt eraan
The modification to your pages built for IE6 in bygone years is simple:
add the following META tag to the head section of each of your pages ( preferably the first meta tag and not later than the first one after <title> )

<meta http-equiv="X-UA-Compatible" content="IE=6"> or
<meta http-equiv="X-UA-Compatible" content="IE=6" /> if XHTML

This will let IE8 and its successors know how to render the page.

My own experience, as a beta tester of IE8 is that pages which use CSS and which failed to display exactly as expected in earlier versions of IE now display properly. Having said that I wouldn't recommend IE8 yet (it's still in an early beta version) since it regularly falls over - crashes - and does not display Java accurately yet.

Adding one simple <meta > tag is no big deal EXCEPT if you have a few hundred pages to do it to.

What about the Document Type Declaration (DTD)? Well, that is just that, it tells a browser that the page was designed to a particular Standard, but it doesn't know whose interpretation of that Standard it should follow. So, each browser will render a page with a valid DTD to the Standard it (the browser) was designed to with the proviso that if it encounters something that doesn't parse (make sense), it will fall back into Quirks mode and render the page to the 'best of its ability'.

Once again IE has moved away from Standards compliance and will have a Super-Standards mode in IE8 - to complement the "near" Standards mode that IE7 has. Plainly put, the IE8 Super-Standards mode will equate to the W3C Standards, while the IE8 Standards mode will be the IE7 "interpretation" of the W3C Standards. IE6 and below are deemed to operate in Quirks mode.

Do you need to add this META tag to your hundreds, thousands of pages? Yes, if you want your pages to render as designed into the future, though there is a simpler way of achieving it, but it requires the Server to implement a Header, e.g. X-UA-Compatible: IE=6


The style to create a border around an object (in this case an image) is created within that object, e.g.

suejim1969

You should also add the 'height' in the same format as the 'width' shown above.