Search the Community
Showing results for tags 'doctype'.
Hi there, I have just downloaded the popular Foundation framework and was about to get stuck in but changing index.html to index.php seems to have stopped the page from displaying. It just displays the html as it is written in the browser. Any ideas why this is? Thanks
1. I was using the page http://www.w3schools.com/tags/ref_html_dtd.asp to reveiw html tags available within each DOCTYPE, but found that I had to simultaneously review each individual tage on the page http://www.w3schools.com/tags/tag_menu.asp in order to determine browser support. For example, the HTML5 <menu> tag is supported in html5 but is not supported in any browser, the <nav> tag is not supported in IE <= 8, the <datalist> tag is not supported in Safari or IE < 10. I suggest that the html:DOCTYPE page include the Browser Support icons (shown below) next to ea
Hello! I'm a beginner when it comes to XHTML/HTML and therefore I have a question. As far as I know you are supposed to tell the browser what (X)HTML version the document uses in the <!DOCTYPE>-tag and then the browser will "understand" and read the document correctly. But you also provide a link to a DTD that says exactly what elements are allowed etc. My question: Does the browser read the DTD in order to display the document or can it display the document properly by just knowing the actual (X)HTML version stated in <!DOCTYPE>? If the browser doesn't read the DTD, th
Is it ok to go ahead and use the new doctype for HTML5 eventhough I am not using any of the new tags, but am basically using XHTML Strict until perhaps in the future I may use some of the tags and features. Is this acceptable? So far everything validates in the validator, but wonder if this is good practice to use a HTML5 doctype where there is no HTML5 markup in the source code.