HTML Tag:
A tags is merely the syntax marker enclosed in angle brackets(< and >).Tags are used to define the start and end of an elements.
Tags:
<html>Tag:
<head> Tag
<body> Tag
<a> Anchor Tag:
<img> Image Tag:
Example:
<p>This**E** is a Paragraph</p>
<p>This is a Opening tag.
(This is a Paragraph):This is a content.
</p>This is a closing tag.
HTML Element:
An elements is the entire, functional building block on a webpage.It represents a single component like a paragraph,and image, or a link.
Example:
The entire line <p> This is a paragraph </p>
is considered a paragraph element.
Top comments (1)
Heyo!
Just a reminder that you likely want to add tags to your post to help with discoverability. Folks follow tags to discover posts in their "relevant" feed on the DEV homepage, so tags are really important for getting your posts seen.
You can add popular, established tags, more niche tags, or create a brand new tag if there's one that has yet to be created. Some tags are centered around a technology (#python, #javascript) and others are more functional (#discuss, #help, #tutorial)... you can use a combination of 4 tags on your post, so choose wisely.
Always make sure that the tags you choose fit the subject matter of your post. Different tags have submission guidelines set up for them which you can view on a tag's landing page. For example, view the landing page for #career - dev.to/t/career and you'll see that the submission guidelines read:
Note that we recruit Tag Moderators to help us create submission guidelines and ensure that posts are properly tagged.
Those are some of the basics of tags! Feel free to visit DEV Help for other helpful information!