Sumit | Javascript + React
Sumit | Javascript + React

@sumitsaurabh927

9 تغريدة 3 قراءة Sep 28, 2022
📌 Basics of HTML!
🧵 A thread: 👇
HTML is one of the fundamental building blocks of the web.
Everything on the internet is made up of HTML from a humble-looking google search page to complex, interactive apps like Instagram.
In this thread, we'll take a look at what makes up the language that makes up the web!
HTML is the stuff that makes up the web.
It is concerned with 'what' goes onto every single page on the web.
An HTML document is made up of a series of 'HTML elements' each of which contains the actual content to be displayed on the web.
Each element is made up of an opening tag, a closing tag, and the actual content.
Some elements don't have the closing tag and are called empty elements.
Common HTML elements are:
- title
- image
- headings (h1 to h6)
- paragraphs
- lists
- unordered list
- ordered list
- links
- form
- aside
- div
- span
- article
There are more but these are the most common ones I've used.
When learning HTML, one common mistake that a lot of people do ( I did too!) is just using whichever HTML element they feel like using.
Most of the time, it's just a bunch of divs.
When I started learning web dev, almost all of my projects had a forest of divs.
But it's wrong!
There's nothing wrong with having a lot of divs in your project.
But using divs when there are better-suited elements or using divs without any proper reason is not only unprofessional, it also makes you look like a rookie.
If you wanna be a pro web developer...👇
If you wanna be a pro web developer, use semantic tags.
You can learn more about semantic HTML and more by subscribing to my newsletter at:
getrevue.co
But there's an ocean of web dev beyond HTML.
And we'll be diving deep into it,
stay tuned! 🚀
That's a wrap!
If you enjoyed this thread:
1. Follow me @sumitsaurabh927 for more of these
2. RT the tweet below to share this thread and show me some love! 🧡🧡🧡

جاري تحميل الاقتراحات...