FSWebDevBook / speedscore-dev

This the author's sandbox repo for the SpeedScore personal speedgolf app developed in the book.
0 stars 0 forks source link

Is doctype necessary to convey correct interpretation of the page to user agents? #12

Open anevins12 opened 3 years ago

anevins12 commented 3 years ago

Is the Doctype a necessary part of the source code to help user agents interpret the page correctly?

Leaving out the Doctype may cause user agents to interpret the page in 'quirks mode'.

chundhau commented 3 years ago

I have added <!DOCTYPE html> to the first line of index.html. I believe this fixes this issue.

anevins12 commented 3 years ago

Sounds good to me