DEV Community

Cover image for Understanding HTML tags.
Keshav Jindal
Keshav Jindal

Posted on

1 1 1

Understanding HTML tags.

1. What are tags?
Tags are the basic building blocks of HTML. HTML is a group different kind of tags having their own unique properties. Every tag contains opening and closing tag. Tags are also opened and closed in a specific order. The most recent tag should be closed first than the outer one.
For example:
Image description
There are many number of tags, a few of are:

  • Heading tag.

  • Paragraph tag.

  • Image tag and many more.
    We will understand each tag in detail in next module.
    2. Let's see few examples for better understanding:

Example-1;

<h1>My HTML webpage content.</h1>
Enter fullscreen mode Exit fullscreen mode

OUTPUT:

Image description

Example-2;

<h2>My Blog post</h2>
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/logos/resized_logo_UQww2soKuUsjaOGNB38o.png" />
Enter fullscreen mode Exit fullscreen mode

OUTPUT:

Image description

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay