Search the Community
Showing results for tags 'doctype'.
Found 4 results
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 each tag name so that one single page includes all the essential information. But I would suggest taking the icons on setp further in that it isn't sufficient to have s single icon for IE; there needs to be an icon for IE 8, for IE 9, for IE 10, and for IE 11 since the feature support in each of these is considerably different (IE <= 7 have pretty much left the market, so no need to separately reference those). To do this I'd suggest using a smaller set of icons in two rows, one for FF, Opera, Chrome, and Safari, and a row for the four IE icons. 2. I have to develop for both PC browsers and mobile devices. It would be helpful for these listings to include information regarding mobile browsers. For example, what are the feature differences between the Android browser and Chrome. Does the Chrome browser support all the features of Chrome for the PC; ditto Safari on iOS devices. thanks
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, then why is it necessary to include a link to it in the <!DOCTYPE>-tag? Thanks!
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.