1. What is HTML?
HTML stands for Hyper text Markup Language and it is not a programming language, it is a markup language that defines the structure of your content.
2. What is HTML used for?
HTML is the code that is used to structure a web page and its content. HTML consists of a series of elements, which you use to enclose, or wrap, different parts of the content to make it appear a certain way, or act a certain way.
3. Why are we learning HTML?
HTML is the basic language to set up a page and it helps better understand and dive into other languages and blockchain build up.
4. What is an HTML tag?
The tags can make a word or image hyperlink to somewhere else, can italicize words, can make the font bigger or smaller and so on.
5. What is the structure of an HTML tag?
The structure of an HTML tag is Actually combinbed from two parts.
The opening tag < p > : This consists of the name of the element (in this case, p), wrapped in opening and closing angle brackets .
The closing tag < / p > : This is the same as the opening tag, except that it includes a forward slash before the element name.
Element is the opening tag, the closing tag and the content together.
The content is what we put between the tags of the element.
For example < p > TextTest < / p >
6. What is an attribute?
Attributes contain extra information about the element that you donât want to appear in the actual content.
7. What is the anatomy of an HTML document?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My test page</title>
</head>
<body>
<img src="images/firefox-icon.png" alt="My test image">
</body>
</html>
The < html > element wraps all the content on the entire page and is sometimes known as the root element.
The < head > element acts as a container for all the stuff you want to include on the HTML page that isnât the content you are showing to your pageâs viewers. This includes things like keywords and a page description that you want to appear in search results, CSS to style our content, character set declarations and more.
< meta charset=âutf-8â > This element sets the character set your document should use to UTF-8 which includes most characters from the vast majority of written languages. Essentially, it can now handle any textual content you might put on it. There is no reason not to set this and it can help avoid some problems later on.
The < title > element sets the title of your page, which is the title that appears in the browser tab in which the page is loaded in. It is also used to describe the page when you bookmark/favourite it.
The < body > element. This contains all the content that you want to show to web users when they visit your page, whether thatâs text, images, videos, games, playable audio tracks or whatever else.
Everything to start on webpages from this source taken https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/HTML_basics