Jump to content

Search the Community

Showing results for tags 'doctype'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 5 results

  1. I am getting inexplicable bottom margin under all my images. Developer Tools didn't associate it with anything and I spent ages looking for a logical explanation, but to no avail. No doubt once I find out, I will slap my head and say DOH! Simpson style, but at the moment I'm baffled. By pure coincidence I made a typo and suddenly it disappeared. The mystery margin is associated with having a <!DOCTYPE html> statement and now I'm forced to leave that out to make my site work. I'm hoping someone can shed light on this. Here is a screen shot, one with and one without the DOCTYPE: notice the golden bar under the image in the first one. I whittled the page right down to just a few lines and you can see it here: http://ngaro.online/mp.html - the mystery padding due to DOCTYPE http://ngaro.online/mpok.html - the mystery padding vanishes without DOCTYPE IDK if it's worth me posting the trivial code as you can just click on "view source" to see it. Thanks in advance for any suggestions 🙂
  2. 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
  3. 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
  4. 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!
  5. 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.
  • Create New...