DEV Community

Cover image for HTML Semantic tags
Asrorxon Sobirxonov
Asrorxon Sobirxonov

Posted on

HTML Semantic tags

Image description

Assalamu alaykum va rohmatullohi va barakatuh

div va span elementlari aniq bir kodni ma'nosini anglatib kelmaydi, ular faqatgina o'rab turuvchi, qamrab oluvchi teg vazifasini bajaradi.

Semantic Tags esa aniq bir ma'noni ifodalab keladi.
HTML5 da semantic tags qo'shilgan va bu boshqa bir dasturchi sizning kodlaringizni tekshirganida bu semantikalar unga ancha yordam beradi, sababi header, footer kabi teglar websaytning bosh va tugash qismini ko'rsatib beradi.

article
aside
details
figcaption
figure
footer
header
main
mark
nav
section
summary
time

Shu sababli hozirgi dasturchilarga div va span dan ko'ra Semantic tagsni ishlatishni maslahat beraman, sizni kodingizni sizdan boshqa insonlar ham ko'rib, tushinishi kerak!

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay