473,326 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

I'm confused about how to set up doctype, content, and meta tag(s)

So how do I know how to set up content type, meta data tags and doctype? I'm confused as to when i use each. :P
Dec 11 '09 #1
2 1429
drhowarddrfine
7,435 Expert 4TB
The doctype is used on the very first line of your page and is the first thing you enter.

Meta tags are optional except for the charset which must be between the head tags.

This page should help but be careful to follow the rules for "strict" doctypes only and I recommend not using XHTML.
Dec 11 '09 #2
hmmm...I already have looked at the W3C chart, but I'm just unsure about what to do when I make a page....like the pages has pics and text and some links (external and internal) and some javascript and css or something between the combos...how do I know what to label ?
Dec 14 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: Raymond Alexander | last post by:
I produce a couple of simple web sites on Frontpage 2002 and when attempting to validate the pages via W3C.org I get the FATAL ERROR message because the pages don't have the proper DTD's. My pages...
5
by: Wladimir Borsov | last post by:
Assume I declare at the top of a HTML page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> This refers to english HTML content/syntax. Later then I declare: <META...
40
by: Harlan Messinger | last post by:
Why would anyone ever have expected a content-type META tag to be effective at all? Is it because someone was misled by the happenstance the letters of the alphabet, the digits, and the characters...
2
by: Mary Ellen Curtin | last post by:
I was reading the New York Times http://www.nytimes.com and I took a peek at the code. It's got a DOCTYPE, rather to my surprise, but my gut reaction to the scanning the code is, "I pity...
0
by: msnews | last post by:
Here is what I want to do: User types in a value. The value is sent as part of the url to another page and that page opens in a new window on the users machine. I'm a comfortable with vbscript...
2
by: Rob Meade | last post by:
Hi all, My apologies for this post being perhaps slightly off topic, at work I am only able to access MS newsgroups and I was under to find one perhaps more appropriate. My problem..... ...
2
by: wavedancer | last post by:
I am confused about the syntax used in the style sheet that accompanies the website I've inherited and have been asked to tidy up. XHTML is new to me, and I've only used CSS for font and link styles...
23
by: Jerry | last post by:
here's what I'm using for my PHP files: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...
1
by: rfr | last post by:
Apparently the Transitional Doctype kills this script because the script does not make proper use of units like "px". It works well without a doctype statement. But once someone adds a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.