?
Solved

XHTML DOCTYPE for pages inside a frameset

Posted on 2005-02-24
4
Medium Priority
?
499 Views
Last Modified: 2013-12-16
Hello,

I'm using a frame and I use the DOCTYPE frameset in the frameset.html
But what should I use inside the pages in the frames?
Can I use strict or transitional, is there any rules about this?

Thanks.
// monica
0
Comment
Question by:monicajohnson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 31

Expert Comment

by:seanpowell
ID: 13391871
Hi Monica,

You should be using the transitional doctype within the pages:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">

The frameset DTD is the exact equivalent to it, except for replacing the body element with the frame element.

Sean
0
 

Author Comment

by:monicajohnson
ID: 13391925
Okej Thanks,

But why, do you know the reason?
What hapens if I use strict?

// monica
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 13391971
It won't support the required attributes you need to use in Frames.

http://www.w3.org/TR/html4/struct/global.html#version-info
"The HTML 4.01 Strict DTD includes all elements and attributes that have not been deprecated or do not appear in frameset documents."

Sean
0
 
LVL 31

Accepted Solution

by:
seanpowell earned 200 total points
ID: 13391986
If you look at the frameset DTD, you'll see that all it does is state that the frameset tag replaces the body tag, and then it includes the full transitional DTD.
http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd

Sean
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question