Jump to content

basic tags in header


ThatJeeves

Recommended Posts

Hello.I used to handcode my sites but I'm a bit uncertain nowadays as to which tags in the head to use. I felt that there might be legal issues when picking the tags. Could someone provide the basic head tags (meta tags, language, charset) and doctype (preferably for html 4.01)? I would be most grateful. By the way, could you also include a stylesheet-link?

Link to comment
Share on other sites

This is typical:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"   "http://www.w3.org/TR/html4/strict.dtd"><html>	<head>		<meta http-equiv="content-type" content="text/html;charset=UTF-8">		<title>My Page</title>		<link rel="stylesheet" type="text/css" href="path/to/mystyle.css">	</head>...

And of course you can add an internal style sheet and/or script(s) if needed.

Link to comment
Share on other sites

Hello.I felt that there might be legal issues when picking the tags.
legal issues?
By the way, could you also include a stylesheet-link?
http://www.w3schools.com/css/css_howto.aspIf you've been a way for a while, your best bet is to just review the HTML/CSS tutorials on http://www.w3schools.com/default.aspedit: DD covered the link part
Link to comment
Share on other sites

Do you mean SEO issues? It's not technically illegal to try and subvert search engine ranking algorithms, I believe, though it will get you downranked. Just don't overload on keywords (the keyword meta tag isn't really used any more) and you will probably be fine...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...