This is a discussion on "what goes before <body> (html header)?" within the Starting Out section. This forum, and the thread "what goes before <body> (html header)? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
what goes before <body> (html header)?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
what goes before <body> (html header)?
Hi,
I'm sorry to ask this basic thing but I can't find it clearly described anywhere. I am trying to find out what needs to go before the <body> of the html document - I know I need a DOCTYPE definition, at the moment I'm using this one, although I don't know if it's the right one to use (I have seen things recommending HTML 4.0 strict instead) - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Then the <html> tag Then within the <head> bit I've got <title> and this ... <link rel="stylesheet" type="text/css" href="web1.css"/> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> the meta bit was copied and pasted from advice in another thread, I have read that there are other ways of doing this bit but nothing that has been clear enough for my brain! Should there be more meta bits? I haven't added this (the meta bit) all my pages yet and I want to do everything at once rather than have to keep changing them all! My site is at http://www.northwiltsholidayclub.org.uk/ I am still working on it, it's my first try. I would welcome any advice on DOCTYPE as well as the meta stuff. Does anyone know a good basic tutorial for this? Thanks |
|
|
|
|||
|
Re: what goes before <body> (html header)?
Yeah what you have now is so far so good. You can use the XHTML strict doc type because you are coding in xhtml!
Other meta tags can be keywords, descriptions, robots info. Here is a good link full of info!http://searchenginewatch.com/showPage.html?page=2167931 |
![]() |
| Tags |
| doctype, html header |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hello every body | Syed Zaeem | Introduce Yourself | 6 | Sep 25th, 2007 16:06 |
| hello every body | littlepeg | Introduce Yourself | 8 | Jul 4th, 2007 01:08 |
| Hello Every Body | setty | Introduce Yourself | 1 | Jul 12th, 2006 14:29 |
| Hi every body | matelo | Introduce Yourself | 4 | Jan 18th, 2006 02:38 |