My post and articles

Friday, April 19, 2024

What are Elements in HTML?

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>

In the below chunk code, you can see how elements set next to each other and make our web pages:

<!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

Popular posts

Is marketing about "Production"?

Is marketing about "Production"? However, in marketing , we look for customers' needs and wants and want to satisfy them with ...