What are "Elements" in HTML?
HTML is a Hypertext and markup language used to send and receive web page content on the network and the Internet.We need a straightforward method for arranging content and creating layouts on web browsers. This technique, which should be accessible to content producers and web programmers alike, is HTML Elements.
What is Elements
Elements are part of a web page's content that is placed between or into "Tags."
To understand better, please look at the below code:
<h1>My First Heading</h1>
As you see, before and after content (My first Heading), two "h1s" are placed between "<>" (cracked bracket).
The "<h1> is named the "Opening tag," and </h1>" is named the "Closing tag." The Opening tag defines the identity of its content, and the closing tag determines when and where it ended.
<tagname>Content goes here...</tagname>
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
The opening tag, content, and closing tag components made our HTML Elements.
Each Element tag has its properties and attributes. We will discuss them in the following posts.
If you're eager to learn web programming and want to gain a practical understanding, I invite you to watch my web programming tutorial on my YouTube channel. You can also download code and other useful content from my GitHub and Telegram accounts.
🔸 YouTube Channel: https://www.youtube.com/@AliZokaeai
🔸 GitHub:https://github.com/AliZokaeai
🔸 Telegram: https://t.me/ali_zokaeai
🔸 Linkedin: https://www.linkedin.com/in/ali-zokaeai/
🔸 WhatsApp: https://wa.me/989362473855
No comments:
Post a Comment