New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove placeholder markup from <body> #926
Conversation
I made (a start on) a I think at any rate, an official 'body tips' article would be cool even if the placeholder markup in index.html stuff stays there. I think it'd be a good idea to have a link to an article in a comment before removing everything (as per index.html#L25). |
I think H5BP trying to provide tips on how to write HTML (which is basically what "body tips" ends up being) is probably beyond the scope of the project, opens a can of worms, and leads to repetition of content that is already out there. If we want to do anything, my preference would be to link to a handful of good, general source for learning about HTML in the Wiki on "Better web development". |
I like the sound of that. My idea wasn't geared towards telling people how to write html. I hadn't thought about that though, so I updated my 'body tips' to make sure it was only informative. I agree that's a bad thing for reasons listed as well as it could come across as one-sided/poorly justified/personal preference etc. I think my goal was two-fold. 1) Talk about a few of the cool things you can do that are otherwise considered taboo 2) Give good examples of section element usage. I put the 'common snippets' in there as well because I thought it'd be a useful reference since they are already in the body of index.html and maybe deserve some attention. But yeah. It was really a matter of pointing out "hey look, you can totally do this and it works and it's cool", not "you should do this this and this". :) Update: I've separated the contents of my page and it's largely turned into my own dubious musings. Make what you like of it if anything at all. |
Hm, kind of on the fence about this one. But emptying the Unfortunately, you'd lose out on best HTML5 practices like |
I will say I nearly always remove the markup from |
There should be links on why this markup is good. I almost always remove it also. |
I think keeping the markup as a general guideline or suggestion is harmless. It provides a nice starting point for those newer to HTML5, and for those more experienced it can be easily removed. |
I feel as though what's there is fairly arbitrary. For most of my stuff I'd always be adding IDs onto
<header>
and<footer>
because I preferred it to having bulldozer selectors on all header and footer els, thus #925. However. On #203 @necolas and others think it might be a good idea to empty<body>
completely and let people start from scratch. I think so too. Feels more boilerplatey.