1.What is HTML?
Answer: Hypertext markup language - is the code that is used to structure a web page and its content.
2.What is HTML used for?
Answer: it is a markup language that defines the structure of content of web pages.
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. The enclosing tags can make a word or image hyperlink to somewhere else, can italicize words, can make the font bigger or smaller, and so on.
3.Why are we learning HTML?
Answer: For our purposes HTML will be used to create a user interface for a system we wish to have accessible on the web
4.What is an HTML tag?
Answer: Tags define boundaries for an element on a web page. Elements can be nested.
5.What is the structure of an HTML tag?
Answer: Opening tag , content (for instance text or image), closing tag
6.What is an attribute?
Answer: Attributes have extra information about the content of the element
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?
Answer:
— the doctype. It is required preamble. In the mists of time, when HTML was young (around 1991/92), doctypes were meant to act as links to a set of rules that the HTML page had to follow to be considered good HTML, which could mean automatic error checking and other useful things. However these days, they don't do much, and are basically just needed to make sure your document behaves correctly. That's all you need to know for now.
— the element. This element wraps all the content on the entire page and is sometimes known as the root element.
— the element. This 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.
— 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 element. This sets the title of your page, which is the title that appears in the browser tab the page is loaded in. It is also used to describe the page when you bookmark/favourite it.
— the 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.