dutchcelt / fe-patterns Goto Github PK
View Code? Open in Web Editor NEWFront-end Patterns
Home Page: http://dutchcelt.github.com/FE-Patterns/
Front-end Patterns
Home Page: http://dutchcelt.github.com/FE-Patterns/
Hey guys,
first of all: Great idea to put all these correct tag combinations together–I totally agree with all of them, except the <table>
markup.
Personally, I think that the <tfooter>
on Line #88 should really come after the tbody
. Of course, this can get quite annoying when you have really long tables. However you shouldn't have these hardcoded in HTML, rather dynamically generated.
Furthermore, I think that markup should, in a very limited way since it is still only markup, represent the presentational structure so the reader can still see where things might be placed in a graphical representation.
By putting the footer above the body, you might give it more weight. Usually a footer only holds references and additional notes, things you basically can live without. Having the tfooter
before tbody
feels kind of like "hey before you read that content, there is one more thing…"
One last thing: having the tfooter
above tbody
, isn't this a bit dangerous? Relying on useragent-stylesheets (or rendering engines themselves) to put the footer below the body? In the good old div
-world, no one would think of putting their footer div above the content/main/… div.
So, semantically I think it makes more sense to put it below tbody
Looking forward to your comments :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.