-
What is HTML?
HTML (Hyper Text Markup Language) is the code that is used to structure webpages along with its contents -
What is HTML used for?
HTML is used to display webpage contents -
Why are we learning HTML?
We are learning HTML in order to learn how to develop webpages it is also a gateway to learning CSS, Javascript due to certain similarities. -
What is an HTML tag?
An HTML tag is an element of a webpage for example<p>This is a paragraph</p>
has the entire element and structure which is used to display webpage content on the web -
What is the structure of an HTML tag?
An HTML tag starts with an opening tag for example and ends with a closing tag</html>
there are though some elements which do not follow the same path such as<img src "">
it completely wraps itself around its own without closing brackets this is called an empty element. -
What is an attribute?
Attribute consists of extra information that you do not want to appear in the actual webpage content for example
<h1 class="This is a welcoming message>Hello!</h1>
- What is the anatomy of an HTML document?
<html></html> // Consists of the Entire webpage along with the header contents titles etc.
<head></head> // Is the container of elements such as CSS, more of things that are vital for the page but only reflects it on the webpage in one way or the other.
<title></title> //Title of a webpage
<body></body> //Consists of the elements you want to show your page viewers