• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Plan B Website

If only I knew what you were all talking about
Seriously, listen to Cojak - getting the basics of HTML right is about as difficult as learning to use MS Word. You'll be glad of it in the end.
 
Seriously, listen to Cojak - getting the basics of HTML right is about as difficult as learning to use MS Word. You'll be glad of it in the end.

Do your website in MS Word and then File - Save As - HTML.

Perfick 'innit?
 
Do you lot still say HTML rather than XHTML?

Internet Explorer still doesn't support XHTML (despite Chris's wishes at the time he wrote that, support was not added to IE 8). Microsoft have never yet made any commitment to support it in any future version.

The vast majority of those people who think they're creating XHTML are just creating HTML with a number of voodoo chicken entrails mixed in there that are treated as ignorable errors by HTML parsers. 95% or more of the pages on the web that claim to be XHTML (and therefore well-formed XML) will fail instantly with well-formedness errors when parsed as XML. (Note that well-formedness has nothing to do with validity, although plenty will fail validation too.)

Probably the most amusing aspect of the XHTML spec's "HTML Compatibility Guidelines" is that several of them rely on the fact that HTML parsers don't parse SGML correctly, although HTML was supposed to be an SGML application.

So XHTML is supposed to be an application of XML designed to replace HTML which is supposed to be an application of SGML; but the vast majority of instances of it are
  1. not XHTML (due to validity fail);
  2. nor HTML (due to containing ignorable errors to make it look like XML);
  3. nor XML (due to well-formedness fail);
  4. nor SGML (which doesn't regard the errors from 2 as ignorable).

See http://www.webdevout.net/articles/beware-of-xhtml for a more thorough analysis.
 
NVU is a dead project.

It's good enough for a beginner - I'd tell lace to go to KompoZer (and you can lace if you want to... :) ), but Nvu is ok to get started on.
 
Mate - you didn't diss my HTML advice. Am I to take it I'm actually correct this time?? :eek:

You're missing an appropriate document type declaration, thereby triggering quirks mode and creating a CSS box model nightmare :spank:

You should probably have a lang attribute on the <html> tag as well, although arguably you could expect the browser to fallback to whatever was specified by the server in the Content-Language header.

Assuming that the server is correctly specifying the content type and character encoding (which should otherwise be specified in a <meta> tag) then you're good to go :)
 
Cruel, cruel words indeed.
My first thought was: 'but it's the basics!'. But somewhere one would need to understand/have a tenuous grasp of the content encoding, the parsing and the DOM, box model et al. So I ain't arguing with ya. Although, for what the OP wants it sounds like he has to get to grips with the very basics of formatting first.

Crikey. I'd forgotten about NVU.
 

Advertisers

Back
Top