Forum Moderators: mack

Message Too Old, No Replies

Document type

         

Carey

11:04 am on Jan 30, 2004 (gmt 0)

10+ Year Member



How do figure out what document type a page is? Could diffent pages in the same website be a different document type?

victor

12:17 pm on Jan 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It depends on what level of HTML or XHTML you are aiming at.

Yes, different pages could be different doctypes. You may need to do that if you are rolling out a revamp.

Good place to start:

[alistapart.com...]

Mohamed_E

6:52 pm on Jan 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, different pages could be different doctypes. You may need to do that if you are rolling out a revamp.

This can also be needed if one (or a few) page(s) requires a transitional feature that is not required in the other pages. So it is possible to have a site where almost all pages are strict, with a handful of transitional ones. Not elegant, but beats having everything transitional (which is what I am still doing :( )!

Carey

11:13 pm on Jan 31, 2004 (gmt 0)

10+ Year Member



What I am having difficulty with is - choosing the right document type so the pages will validate. I am using FP 2000. I find it very confusing between what's 4.0 or 4.01 strict or transitional let alone the rest of the other types other than frames - my site is not in frames

grahamstewart

11:35 pm on Jan 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I doubt you will have much success producing valid code using Frontpage, but your best best is probably HTML4.01 Transitional.

Carey

12:18 am on Feb 1, 2004 (gmt 0)

10+ Year Member



I want to start doing my pages differently and actually I am thinking about just using notepad and adding some new (or new to me) designing elements.

Elijah

12:33 am on Feb 1, 2004 (gmt 0)

10+ Year Member



I am thinking about just using notepad and adding some new (or new to me) designing elements.

Instead of notepad I would suggest using:
1. Edit Pad Light
2. jEdit

I have used both of these programs and have found them to be very useful.

Elijah

grahamstewart

12:42 am on Feb 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or Textpad :)

Elijah

1:37 am on Feb 1, 2004 (gmt 0)

10+ Year Member



Or Textpad :)

But jEdit and Edit Pad Lite are free ;)

pageoneresults

2:15 am on Feb 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I doubt you will have much success producing valid code using Frontpage.

Arrrggghhh!

I doubt any of those text editors are going to produce valid code either! :)

Carey

2:19 am on Feb 1, 2004 (gmt 0)

10+ Year Member



So we're back to notepad? :-)

grahamstewart

2:45 pm on Feb 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But jEdit and Edit Pad Lite are free

So is Textpad as long as you don't mind the splash screen at the start :)

I doubt any of those text editors are going to produce valid code either!

Ahh.. but that would be due to operator error.. not fundamentally flawed software. :)
I'm sure you can actually force Frontpage to produce valid code, but it will involve much hand editing, tweaking, and fiddling with options, so you might as well start with a text editor.

g1smd

1:00 am on Feb 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I would aim for HTML 4.01 Transitional to begin with.

If you use frames (and I hope you don't) you'll need HTML 4.01 Frameset for the Frameset page.

Ignore HTML 2.0 and HTML 3.2 completely.

Later on, look at XHTML, but I would wait for XHTML 2 to arrive before moving away from HTML 4.01 unless there was a very valid reason to jump into XHTML 1.0 or 1.1 first (and I really don't see one yet).

Carey

12:15 pm on Feb 3, 2004 (gmt 0)

10+ Year Member



g1smd - thank you. I do not use frames on my site.