What are the tags in html? lecture 2

HTML Heading

An HTML heading or HTML h tag can be characterized as a title or a caption that you need to show on the site page. At the point when you place the text inside the heading labels <h1>.........</h1>, it is shown on the program in striking configuration, and the size of the text relies upon the quantity of heading.

 

There are six distinct HTML headings which are characterized with the <h1> to <h6> labels, from most significant level h1 (fundamental heading) to the most un-level h6 (least significant heading).

 

h1 is the biggest heading tag and h6 is the littlest one. So h1 is utilized for the main heading and h6 is utilized for the least significant.

 

Headings in HTML help the internet searcher to comprehend and list the design of a website page.

 

HTML Paragraph

HTML passage or HTML p tag is utilized to characterize a section in a page. We should take a basic guide to perceive how it works. It is a striking point that a program itself adds a vacant line when a passage. A HTML <p> tag shows beginning of new passage.

 

HTML Phrase tag

The HTML expression labels are specific reason labels, which characterize the underlying importance of a square of text or semantics of text. Following is the rundown of expression labels, some of which we have as of now examined in HTML organizing.

 

Truncation tag : <abbr>

Abbreviation tag: <acronym> (not upheld in HTML5)

Checked tag: <mark>

Solid tag: <strong>

Underscored tag : <em>

Definition tag: <dfn>

Citing tag: <blockquote>

Short statement tag : <q>

Code tag: <code>

Console tag: <kbd>

Address tag: <address>

The HTML anchor tag characterizes a hyperlink that joins one page to another page. It can make a hyperlink to another page as well as documents, areas, or any URL. The "href" trait is the main characteristic of the HTML tag. furthermore which connects to the objective page or URL.

 

href quality of HTML anchor tag

The href property is utilized to characterize the location of the record to be connected. All in all, it brings up the objective page.

 

HTML Image

The HTML IMG tag is utilized to show a picture on the page. The HTML IMG tag is an unfilled label that contains ascribes just, shutting labels are not utilized in the HTML picture components.

 

1) src

It is an important characteristic that portrays the source or way of the picture. It teaches the program where to search for the picture on the server.

 

The area of the picture might be on a similar catalog or another server.

 

2) alt

The alt trait characterizes a substitute text for the picture on the off chance that it can't be shown. The worth of the alt quality portrays the picture in words. The alt quality is viewed as great for SEO viewpoint.

 

3) width

It is a discretionary characteristic that is utilized to indicate the width to show the picture. It isn't suggested now. You ought to apply CSS instead of the width characteristic.

 

4) stature

It h3 the stature of the picture. The HTML stature characteristic additionally upholds iframe, picture, and item components. It isn't suggested now. You ought to apply CSS instead of the stature property.

 

Utilization of tallness and width credits with img tag

You have found out with regards to how to embed a picture on your page, presently to give a few tallness and width to show the picture as indicated by our prerequisite, then, at that point, we can set it with the stature and width credits of a picture.

Enjoyed this article? Stay informed by joining our newsletter!

Comments

You must be logged in to post a comment.

About Author