mpsn Posted December 18, 2011 Share Posted December 18, 2011 Hi, if all browsers support HTML5 with simple the DTD: <!DOCTYPE html>, do I still need to include in header: <meta http-equiv="Content-Type" content="text/html; charset=iso-utf-8"> Quote Link to comment https://forums.phpfreaks.com/topic/253409-meta-tag-help/ Share on other sites More sharing options...
scootstah Posted December 19, 2011 Share Posted December 19, 2011 The DOCTYPE tells the browser how to parse the HTML. The Content-Type header tells the browser what character encoding the page uses. So yes, because they are completely different things. Quote Link to comment https://forums.phpfreaks.com/topic/253409-meta-tag-help/#findComment-1299165 Share on other sites More sharing options...
mpsn Posted December 19, 2011 Author Share Posted December 19, 2011 Thanks for clarifying, do you mind taking a look at my JavaScript post, its fairly simple js, just to show three sets of images side by side and when user clicks on each, it just cycles through the images for a given set and each image set has a link to toggle between hiding or showing the images. here's the link: http://www.phpfreaks.com/forums/index.php?topic=350209.0 I appreciate all the help. Quote Link to comment https://forums.phpfreaks.com/topic/253409-meta-tag-help/#findComment-1299483 Share on other sites More sharing options...
Stiver112 Posted December 21, 2011 Share Posted December 21, 2011 This would be a good HTML5 page setup: <!DOCTYPE html> <HTML lang="en"> <HEAD> <TITLE></TITLE> <META charset="utf-8" /> <META name="keywords" content="" /> <META name="description" content="" /> </HEAD> <BODY> </BODY> </HTML> Quote Link to comment https://forums.phpfreaks.com/topic/253409-meta-tag-help/#findComment-1300135 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.