HTML tag: It is the root of the html document which is used to specify that the document is html.
Body tag: It is used to define the body of html document.
What are the four basic HTML tags?
All HTML documents are divided into two main parts: the head and the body. When you begin any new page, it must have a declaration: <!DOCTYPE html>. It’s telling or declaring to the browser that the following file is an HTML file. To build any webpage you will need four primary tags: <html>, <head>, <title> and <body>.
What is TAG example?
Elements are the bits that make up web pages. You would say, for example, that everything that is in between (and includes) the <body> and </body> tags is the body element. As another example, whereas “ <title> ” and “ </title> ” are tags, “ <title>Rumple Stiltskin</title> ” is a title element.
What is HTML and its tags?
HTML tags are the hidden keywords within a web page that define how your web browser must format and display the content. Most tags must have two parts, an opening and a closing part. For example, <html> is the opening tag and </html> is the closing tag.