Why & When to Use Semantic HTML Elements over Divs

  Переглядів 75,426

ByteGrad

ByteGrad

Рік тому

Hi, I'm Wesley. I'm a brand ambassador for Kinde. I'll help you master the latest tech here:
👉 NEW React & Next.js Course: bytegrad.com/courses/professi...
👉 Professional JavaScript Course: bytegrad.com/courses/professi...
👉 Professional CSS Course: bytegrad.com/courses/professi...
👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (BIG update soon): email.bytegrad.com
0:00 Solution
#webdevelopment #coding #programming

КОМЕНТАРІ: 48
@mikeandrewfernandez9797
@mikeandrewfernandez9797 Рік тому
I was confused by the difference between article and sections until I found this video. Awesome content! 👍
@alialrahem9817
@alialrahem9817 13 годин тому
I did study this material on focus on SoloLearn and really clear to know the structure here you explain in detail thank you for posting this video very clear and consistent
@itsjiraheta
@itsjiraheta 6 місяців тому
I have worked in soft dev (mainly in mobile) for over a decade. I used to work a long, long, loooonggg time ago on websites. They have gotten more complex, to say the least, and are in their own category nowadays with so many things to consider. Thank you for the explanation and the level of detail. Def got me as a sub! keep up the great work.
@1015AK
@1015AK 9 місяців тому
I use sections to create sections of content on the page and then if I need to divide up the section for styling I use a div for that
@joaovitorschmidt6194
@joaovitorschmidt6194 8 місяців тому
your way of teaching is very good, english isn't my first language, I understand like 70% of the words and still understand you, even with reaaaaly basic knowledge of programming. Thank you so much for your content, keep it up.
@orangeprogrammer
@orangeprogrammer 10 місяців тому
Thank you! This explanation and examples helped me understand the tags. Well done!
@whoozie
@whoozie Місяць тому
thanks for the overall explanation with the examples, this was what I wanted!!!
@RichReflectionz
@RichReflectionz 8 місяців тому
I was confused about sections and articles till you explained it, thanks
@MichalRutz
@MichalRutz Рік тому
A very clear and professional introduction. thanks!
@sehitgoker5073
@sehitgoker5073 9 місяців тому
good stuff mate, was clear and helpfull.
@kauheaa
@kauheaa 3 місяці тому
Had been reading about web accessibility and sematic tags all day and was looking for an explanation on the distinction between section and article, this provided answer to that and some other questions as well. Thank you!
@vanezamanlangit7989
@vanezamanlangit7989 Рік тому
Thank you! You're very helpful.
@RaghadJohani
@RaghadJohani 6 місяців тому
I love this kind of videos, insightful, and fun to watch. Thanks.
@evanmico
@evanmico 4 місяці тому
1:36 From what I understand, a element isn't for "the most important links on a page", but rather it just specifies a grouping of links on the page. It is NOT uncommon to have them in the footer. The important thing is that *if you have multiple elements you need to label them.* This is done using an attribute called aria-label="" or aria-labelledby="" with an h tag child containing an id set equal to the value in aria-labelledby="". Dave Gray did a nice explanation of this particular topic here: ukposts.info/have/v-deo/o4hkiJybjKeh1ok.htmlsi=nqgp6qUcEy9_5bkq&t=450
@DarkD33p
@DarkD33p 4 місяці тому
Finally a clear explanation on the subject. Thank you very much.
@zahid9652
@zahid9652 8 місяців тому
I am from India love you from heart ❤️ Really your example and explanation are very actually very good From hear ❤️
@gfred3234
@gfred3234 21 день тому
I like to use div in my sections as nested... because I separate contents inside the section and better to toggle for styling
@igu642
@igu642 7 місяців тому
i thought html is easy but when i trying to do project in my own then i finded what the heck how to use this things i thought nuh developing is not for me but when i watch your video i am happy now
@tambeegbeayuk1836
@tambeegbeayuk1836 Місяць тому
This Is the best video ever🎉🎉
@humphrey4930
@humphrey4930 3 місяці тому
Thank you, I understand it a bit better. Nice Content
@RoboticsDevelopment
@RoboticsDevelopment 7 місяців тому
Subscribed!
@TsTheSeason
@TsTheSeason 4 місяці тому
Hey thanks so much for the great content!
@heavenlyhighlights-em4cl
@heavenlyhighlights-em4cl 5 місяців тому
Great Explanation . Earned a Subscriber..
@kakyoin4535
@kakyoin4535 Рік тому
thank you!
@mks-h
@mks-h Рік тому
Good video, thanks
@arafathossain3778
@arafathossain3778 11 місяців тому
Very helpful
@djt6fan
@djt6fan Рік тому
Appreciate the effort. Any idea when you will be releasing the web design course, or the React course? I'd be interested in those.
@ByteGrad
@ByteGrad Рік тому
React course will be published next month, definitely make sure to be subscribed to the email newsletter 😉
@user-rq2ek3he9w
@user-rq2ek3he9w 2 місяці тому
good stuff
@wisdomsyx
@wisdomsyx 5 місяців тому
I think we can still use a nav element in the footer section. We just have to use an arial-label to specify what section they belong to.
@lauraudechukwu2899
@lauraudechukwu2899 10 місяців тому
this is really helpful and easy to understand. I have a question though, what are screen readears/accessibility mean?
@cristopherguillen4435
@cristopherguillen4435 10 місяців тому
Screen readers are a feature that some phones and computers use to read and help blind people.
@tataruovidiu9305
@tataruovidiu9305 3 дні тому
thanks!
@SoulSovereignty
@SoulSovereignty 11 місяців тому
My #1 interest is knowing how to quickly create my own site "template" for a small Svelte or React project. For the former (Svelte) perhaps that means using Pico CSS and...flexbox for layout? For the latter (React)...I'm not sure (Tailwind is generally for larger projects, and is flexbox sufficient, or bootstrap overkill?). Do you have either videos or coursework that cover this "mastery of making a site template/layout"? I suppose just a video/course that shows how easily(?) flexbox replaces bootstrap layout? As for styling, I'm not excited about a CSS deep-dive because...as stated...I only have small projects and I don't want to take a ton of time to learn all the intricacies of CSS if something like Pico CSS will suffice.
@ByteGrad
@ByteGrad 11 місяців тому
Hi, I highly recommend you check out my CSS-course. Flexbox is king but you need to know CSS grid too, everything else is just an abstraction built on top of plain CSS (easy to learn once you’ve mastered CSS itself)
@epicturnip
@epicturnip 10 місяців тому
What theme is this?
@chemaalonso7931
@chemaalonso7931 Місяць тому
I ALWAYS use article and inside sections I tjink is more semantic surround a whole article and divide the article in sections because you can have for example an article about cats and inside sections like food, sex, ages, dead, etc.. that has no sense if you pu it out of the article but if you put put the whole article has meaning, and i use header even in a section and articles i use footer too inside articles and even aside and navs if i got some links inside that article in the aside, you can mix it elements and it is good
@BK-iu6ow
@BK-iu6ow 10 місяців тому
What’s the best way to set up html in the head and body, that will make it mobile friendly or screen friendly where if screen is bigger it still comes out the same
@hetoverseo3887
@hetoverseo3887 8 місяців тому
Use min(), max(), create a style for mobile first then add media queries with min-width to style content when the screen gets bigger.
@AlThePal78
@AlThePal78 5 місяців тому
why did stripe put the stuff in a div that is confusing though
@toastedclosure2770
@toastedclosure2770 8 місяців тому
u forgot to mention details, dialog, summary and data
@user-om2zq2je9w
@user-om2zq2je9w 3 місяці тому
большое спасибо мне очень понравился данный урок а вам, не так ли?
@mobilejo1
@mobilejo1 3 місяці тому
you de esser is working hard asf
@edgarspujats8282
@edgarspujats8282 10 місяців тому
I really likes the video but shouldn't section include atleast one heading?
@lucialuciferion6720
@lucialuciferion6720 2 місяці тому
I hear a Dutch accent :)
@ISoHEoBASSIST
@ISoHEoBASSIST 28 днів тому
"I'm under the impression that semantic HTML is one of those things that everybody sells as a super important good practice, but nobody really ever ends up using. Am I wrong?
@AdmiralFatcock
@AdmiralFatcock 2 місяці тому
To be honest, this shit right here is why I wanted to quit lol. I got so frustrated
@Sakamoto-san7
@Sakamoto-san7 2 місяці тому
what is that sound in the background? so annoying
When to Use Semantic HTML Elements Instead of Divs
17:57
Craig A. Bourne
Переглядів 37 тис.
Excited Dog Zooms In and Out of Sliding Door!
00:18
The Pet Collective
Переглядів 16 млн
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Переглядів 2 млн
Web Developer Roadmap (2024) - Everything is Changing
25:02
ByteGrad
Переглядів 228 тис.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Переглядів 877 тис.
Simple Yet Powerful: 5 HTML Elements to Use!
12:11
WebDev Frontiers
Переглядів 8 тис.
Semantic HTML Tags | HTML5 Semantic Elements Tutorial
24:38
Dave Gray
Переглядів 45 тис.
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Переглядів 1,3 млн
All 29 Next.js Mistakes Beginners Make
1:45:10
ByteGrad
Переглядів 30 тис.
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Переглядів 395 тис.
How to Properly Layout A Website (For Beginners)
14:50
The Website Architect
Переглядів 476 тис.
Semantic HTML - How to Write Clean Code (Beginner)
19:48
Ethan Eisenhard
Переглядів 22 тис.
How about that uh?😎 #sneakers #airpods
0:13
Side Sphere
Переглядів 8 млн
Рекламная уловка Apple 😏
0:59
Яблык
Переглядів 799 тис.
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Переглядів 904 тис.
Теперь это его телефон
0:21
Хорошие Новости
Переглядів 927 тис.
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 979 тис.