Computer Science, asked by dev4431, 10 months ago

list any 10 html tags​

Answers

Answered by vedantpatel67
1

<html> … </html>

<head> … </head>

<title> … </title>

<body> … </body>

<h1> … </h1>

<p> … </p>

<a> … </a>

<img> .............

Answered by purveshKolhe
3

\bf{\underline{Answer::}}

  1. <html></html> - This tag encloses all the data of a html file. All the other tags are found within this tag. It is the root element of a HTML file.
  2. <head></head> - This tag contains metadata, the title and all the other data that is not visible on a web page.
  3. <body></body> - All the components that are visible on the screen are enclosed within this tag.
  4. <hn></hn> - This tag stands for headings. The n in the tag is replace by numbers from 1 to 6 which have different sizes. The biggest heading is <h1> and the smallest is <h6>.
  5. <p></p> - This tag stands for a paragraph. All the normal text or content in the form of text lies in this tag.
  6. <div></div> - div stands for "division" and is used to group HTML elements together and apply styles or manipulate them as a unit using CSS or JavaScript. Without any content or attributes, the div element itself has no visible effect on the page.
  7. <span></span> - This is an empty HTML span element. Span is also used to group HTML elements together, but unlike div, it is an inline element, which means it does not create a new line and can be placed within a line of text.
  8. </img> - This tag is used to add an image onto the web page. It has src and alt as its attributes. Src attribute contains the source of the image and alt attribute contains the alternative text to be displayed if image fails to load.
  9. </br> - This tag stands for line break. This is commonly used in headings or paragraphs to move the content to the next line. Not only text, but it can be used for all the inline and block elements.
  10. <a></a> - It stands for anchor tag. It is used to display hyperlinks linking to internal or external environment of the web page. It has a href attribute which contains the link to which it is to be taken.
Similar questions