Comments (5)
I use section
Tag if it's a section of relatet Content. Usually with a starting H2 Tag in it. A Landingpage would have multiple sections. I try to prevent nesting of sections. I am using thearticle
tag when it makes sense semantically. This could be a list of blog teasers (each is an article
) and the post content on the detail page is wrapped in an article tag as well (maybe with a header
and footer
if nescessary) . For landing pages i do not use the article
tag.
I would reference this page: https://www.w3schools.com/html/html5_semantic_elements.asp as a starting point.
from nue.
So draw_sections: false
is not working as expected?
from nue.
Okay, this is working. I am a bit confused how nuejs renders boxes as sections automatically. I would prefer to render them as div instead because usually i am using sections as direct children of main only.
from nue.
I really like the idea of using sections as direct children of main only. Makes a lot of sense. I might copy that pattern. Is there any reference to that pattern out there? How do you use the article
tag?
from nue.
Thanks. I'm kind of in a same situation semantially. I was hoping you'd have some very strict working rules that you've found beneficial when structuring content, layout, and CSS. I mean the help on the W3 schools doc does not get me very far:
you will find HTML pages with
<section>
elements containing<article>
elements, and<article>
elements containing<section>
elements.
from nue.
Related Issues (20)
- In version 0.4.3, `:if` instruction failure and inconsistent display performance. HOT 3
- Add an ability to import and run JS modules in server-side components HOT 8
- create error
- Update CLI help message to represent current options HOT 1
- Custom JSX/TSX components HOT 2
- Syntax error HOT 1
- Pending when creating projects with bun under Windows HOT 12
- The path of the route is expected to support regular expressions HOT 1
- component at layout.html compile error HOT 3
- When '{}' or',' in html , How to escape? HOT 1
- It can not start the server with nuekit 0.5.3, but works with nue 0.4.3 HOT 6
- auto generate manifest.json file
- a bug in the nuecli root HOT 5
- unmounted() Why is it not executed?
- Reactive values are not updated? why? HOT 3
- Page router doesn't mount components. Refresh needed to properly mount. HOT 2
- When iterating collections: can we render the markdown content of an item? HOT 5
- three-tiered directory structure layout HOT 1
- Add default`text` property to default `data` object available to page layouts.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nue.