- What is HTML?
Also known as Hypertext Markup Language, HTML is the code that structures a web page and its content. For example, putting content into a bullet-point list and using images on a web page are two examples of using HTML.
- What is HTML used for?
See above
- Why are we learning HTML?
See above
- What is an HTML tag?
An HTML tag lets you create elements, which you then use to modify content in a certain way. For instance, you could put text in tags to make it bold.
- What is the structure of an HTML tag?
Opening tag - where the element begins
Content of the element
Closing tag - where the element ends
(All three of the above make up the entire element)
- What is an attribute?
Attributes let you add extra information to an element that doesn’t appear in the web page’s actual content.
For example you can give a paragraph
, with class being the attribute and the class-name in quotes being the attribute’s value.
- What is the anatomy of an HTML document?
// just a necessary start to an HTML document due to HTML conventions from the 90s that still exist
// this element wraps all content on the entire page. Also known as the root element.
// element for containing things you want to include but not show to your page's viewers. For example, you might put keywords and a page description (both meant for search engines), in the element.
// opposite to the element, the element includes everything you want to show your page viewers when they visit your page.
Sets your document's character set to UTF-8, which covers most characters from most written languages. In other words, this element lets your web page handle any textual content you put on it.
This element sets the title of your page. The title appears as the title for the browser tab that your page loads in. The title element also describes the page when you favorite or bookmark it.