sandeep
sandeep

Reputation: 92833

why not browsers mesh the page with worng html tags?

i am working on a project using html5 properties like <header>,<article> etc... it's work fine. but when i review it & saw that i wrote <heder></heder> instead of <header></header> but the structure work well in all browsers. so can anyone explain it.

Upvotes: 0

Views: 60

Answers (1)

Quentin
Quentin

Reputation: 944175

Browsers don't do anything special with elements they don't recognise.

If the page didn't depend on any particular rendering of that element then replacing it with a different one (that had no default styles applied to it) wouldn't make a difference to the visual rendering.

Upvotes: 2

Related Questions