Computer Science, asked by chet690607kr, 9 days ago

Q4- Write the functions of the following tags used in HTML​

Attachments:

Answers

Answered by kookie2787
2

Answer:

</html> HTML TAGS. ...

HTML Paragraphs. Description: Defines a paragraph. ...

HTML Links. Description: Defines a hyperlink. ...

HTML Images. Description: Defines an image. ...

HTML Tables. Description: Defines a table. ...

HTML Divisions. Description: Defines a section in a document. ...

HTML Lists. Description: Creates list of items. ...

HTML Line breaks.

Answered by itsmerockingaarav
8

Answer:

1)The <html> tag represents the root of an HTML document.

The <html> tag is the container for all other HTML elements (except for the <!DOCTYPE> tag).

Note: You should always include the lang attribute inside the <html> tag, to declare the language of the Web page. This is meant to assist search engines and browsers.

2)The <p> tag defines a paragraph.

Browsers automatically add a single blank line before and after each <p> element.

3)The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag.

Metadata is data about the HTML document. Metadata is not displayed.

Metadata typically define the document title, character set, styles, scripts, and other meta information.

4)The <body> tag defines the document's body.

The <body> element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.

Note: There can only be one <body> element in an HTML document.

5)The <title> tag defines the title of the document. The title must be text-only, and it is shown in the browser's title bar or in the page's tab.

The <title> tag is required in HTML documents!

The contents of a page title is very important for search engine optimization (SEO)! The page title is used by search engine algorithms to decide the order when listing pages in search results.

The <title> element:

defines a title in the browser toolbar

provides a title for the page when it is added to favorites

displays a title for the page in search-engine results

Here are some tips for creating good titles:

Go for a longer, descriptive title (avoid one- or two-word titles)

Search engines will display about 50-60 characters of the title, so try not to have titles longer than that

Do not use just a list of words as the title (this may reduce the page's position in search results)

So, try to make the title as accurate and meaningful as possible!

Note: You can NOT have more than one <title> element in an HTML document.

6)The <h1> tag are used to define HTML headings.

<h1> defines the most important heading

Note: Only use one <h1> per page - this should represent the main heading/subject for the whole page. Also, do not skip heading levels - start with <h1>, then use <h2>, and so on.

mark me brainliest

Similar questions