What is HTML?
HyperText Markup Language, the first code that we are learning to use. A markup language, not a programming language itself.
What is HTML used for?
It is used to structure web pages and their content so they are displayed correctly.
Why are we learning HTML?
It will allow us to learn the most basic elements of creating a web page, laying the groundwork we will build on, basic understanding of what code looks like and how it interacts etc, before we move on to the more advanced knowledge necessary to work with blockchains
What is an HTML tag?
Code used to enclose instructions within an element
What is the structure of an HTML tag?
Opening tag:<x>
Closing tag: </x>
An element: <OpeningTag>Content</ClosingTag>
What is an attribute?
Code that contains additional information about the element that we donāt want to be visible in the content.
What is the anatomy of an HTML document?
doctype: A legacy command needed to make sure the rest of the code executes properly
html element: Wraps up the rest of the pageās content
head element: Content you want to include on the page without it being visible to viewers, i.e. keywords for search engines etc
character set (utf-8): The character set used to display language on the page. UTF-8 contains most characters from majority of languages so should be used unless there is a specific reason not to
title element: The title of the page, visible in the browser tab and default title when bookmarked / favourited
body element: The content that will be visible to people visiting the page.