Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

<center> tag to make texts centered is not supported in HTML5 but its still working in the latest version of chrome.

Is Chrome making up for the mistake or is it still supporting the deprecated tags along with the new HTML5 tags?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Browsers are very forgiving. They will take badly mangled HTML and do their best to render a web page with it. In the case of using deprecated or invalid tags, they will typically honor them even though they are invalid. This may cause your page to be rendered in quirks mode which can cause other problems, however, so using them should be avoided. This also doesn't apply when support for a tag is completely removed like Firefox 23 removing support for the <blink> tag (thank goodness).

share|improve this answer
    
Thanks for clarifying. I got it. –  user1439968 Aug 9 '13 at 16:00
    
@John "quirks mode" only exists in IE and occurs when a doctype is missing, not on invalid HTML. –  DisgruntledGoat Aug 9 '13 at 22:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.