- What is HTML? HTML stands for "Hypertext Markup Language. This code is used to structure a website and its contents. HTML is not to be confused with a programming language which performs logical operations rather it is a markup language which defines the structure of your content. If comparing to a biological body HTML would be as bones, the framework for the rest of the body to rest upon.
- What is HTML used for? At a most basic level it serves to present the most basic information on a web page. It is static, non stylistic, and simple in order. Because of this it is often the initial framework that is written of a website before its design is fleshed out in CSS and interoperability with Javascript.
- Why are we learning HTML? We are learning HTML so that when working with the block chain on the back end we will learn how to integrate it with the front end user presentation experienced through a website by utilizing HTML.
-
What is an HTML tag? This is a part of the markup language which is made up of <> to open and </> to close a section of text. This is often filled with text, but can also include links, and image files.
The combination of the opening tag <>, the closing tag </> and the content text together comprise the element.
For example <!p>Hello World<!/p> The exclamation points would be removed for proper operation. -
What is the structure of an HTML tag?
The structure is demonstrated above. <!name of the element> text, image, or link <!/name of the element> - **What is an attribute?**An attribute provides extra information about an element and is identified within an elements HTML tag. The attribute name class=âcolor blueâ the attribute value. These can be used to change the behavior of what is held within the HTML tag.
- What is the anatomy of an HTML document? This is a basic structure that HTML written webpages follow. Similar to order of body parts on a human body from head to feet. If one thing is out of order it is less likely to work as well or at least as efficiently.
<!DOCTYPE html> (Is used to be sure that the HTML shows properly on older web browsers)
<html> (This element is used to wrap the content on the entire page and can be referred to as the root element)
<head>(This sections contains all the CSS variables and other information that needs to be included to influence that contained within the HTML element but not to be viewed by the viewer on the webpage)
<meta charset="">(How to set the font of the website to allow for universal accessibility across languages)
<title></title>( The main title as it would show on your web page as well as the text seen on the tab across the browsers open window.)
</head>
<body>(This contains all the content you want your websites viewers to see.)
<h1>Text</h1>
<p>Text </p>
<img src="" alt="test image">
</body>
</html>
This sums up an anatomy of HTML.