Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: SWAMPSNIPER

Not Supported in HTML5

Check the headers.


3 posted on 01/22/2015 2:50:12 PM PST by SolidRedState (I used to think bizarro world was a fiction.)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: SolidRedState
 photo BIBIarugulaFREE_zpsaeec4747.jpg

5 posted on 01/22/2015 2:51:37 PM PST by SWAMPSNIPER (The Second Amendment, a Matter of Fact, Not A Matter of Opinion)
[ Post Reply | Private Reply | To 3 | View Replies ]

To: SolidRedState
Not Supported in HTML5

Check the headers.

The header is not what defines which version of HTML a web document uses.

It's the DOCTYPE. In the case of this page, it is declared as HTML 4.0 Transitional. (See: HTML Declaration)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

For a web document to be declared HTML 5, the DOCTYPE needs to be:

<!DOCTYPE html>

24 posted on 01/22/2015 3:02:07 PM PST by Ol' Dan Tucker (People should not be afraid of the government. Government should be afraid of the people)
[ Post Reply | Private Reply | To 3 | View Replies ]

To: SWAMPSNIPER; SolidRedState
Not Supported in HTML5

I use this website for quick html and css info. I'm no expert, but it's quick and simple.

http://www.w3schools.com/css/css_howto.asp

It nicely tells you what is supported where.

IMHO, it's all WAY too overcomplicated. As a software guy with 25 years experience... I see the reasons why, but I digress.

You can add css right in your html pages for quicky html snippets.

Of course, when posting to a site like FR - the site will have it's own css stylesheets. As long as you don't use their names, your css can coexist with that of the site.

FR's headers still reference HTML 4...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
29 posted on 01/22/2015 3:08:13 PM PST by PieterCasparzen (We have to fix things ourselves)
[ Post Reply | Private Reply | To 3 | View Replies ]

To: SolidRedState; Ol' Dan Tucker
Not Supported in HTML5

I should also add that even though the center tag is deprecated in HTML 4.0 strict and HTML 5, it still works in HTML 5. (Just tested this on my own HTML 5 page)

It's just considered bad practice to mix content and styling.

31 posted on 01/22/2015 3:11:31 PM PST by Ol' Dan Tucker (People should not be afraid of the government. Government should be afraid of the people)
[ Post Reply | Private Reply | To 3 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson