homepage Welcome to WebmasterWorld Guest from 54.242.126.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Bootstrap and HTML at the top?
toplisek

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4624781 posted 1:33 pm on Nov 20, 2013 (gmt 0)

I have seen confirmed or validated
<!DOCTYPE html>

Issue is that just <html> will change to Quirks mode.
What is the best way using frameworks or particular
bootstrap?

There are many sources with options like:
URL:
[webdesign.about.com...]

URL:
[getbootstrap.com...]

 

graeme_p

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4624781 posted 1:53 pm on Nov 20, 2013 (gmt 0)

Issue is that just <html> will change to Quirks mode.


No. What browser have you come across that goes into quirks mode with <!DOCTYPE html>

drhowarddrfine

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4624781 posted 8:41 pm on Nov 20, 2013 (gmt 0)

@graeme_p What he said is with "just <html> will change to Quirks".

graeme_p

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4624781 posted 7:49 am on Nov 21, 2013 (gmt 0)

I am a bit confused by that. I assume be meant <!DOCTYPE html> because he does not seem to have any any reason not to use it: it is what one of the sites he links to recommends, and it is what the other uses.

What is the problem with using it?

toplisek

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4624781 posted 10:37 am on Nov 21, 2013 (gmt 0)

Browsers are depended on W3C recommendations. As Quirks mode is not a standard. It means you have correct DOCTYPE declaration like <!DOCTYPE html>, but just <html> will turn on quirks as this is not correct DOCTYPE declaration.

I guess this is correct interpretation.

JD_Toims

WebmasterWorld Senior Member Top Contributors Of The Month



 
Msg#: 4624781 posted 12:56 am on Nov 29, 2013 (gmt 0)

I really don't understand the question/issue, and I'm guessing others don't either -- You're saying without a preceding doctype declaration:

<html>
<head>
blah blah blah

Will turn on quirks mode, but

<!DOCTYPE html>
<html>
<head>

blah blah blah

Will not -- Correct so far?

If I am, and the answer to the question is not: "Use <!DOCTYPE html><html> rather than simply an opening <html> tag.", then please, ask the question again or give us some clue why someone who had access to a webpage to add code, etc. would use <html> rather than <!DOCTYPE html><html>, because it really makes no sense to me and if someone has enough access to add code, it certainly seems like they should have enough access to add a doctype declaration, so why on earth would they choose not to?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved