- What is HTML?
-Hyper text markup language code that is used to structure a web page and its content - What is HTML used for?
-code that is used to structure a web page and its content - Why are we learning HTML?
-to create websites - What is an HTML tag?
-a tag states where a HTML element begins and ends - What is the structure of an HTML tag?
-opening tag and closing tag - What is an attribute?
attributes contain extra information about an element - What is the anatomy of an HTML document?
elements combined to make up an HTML page
1 - HTML ( H yper T ext M arkup L anguage) is a code.
2 - It is used to structure a web page and its content.
3 - To be able to create websites to be used by humans, robots and other indexers.
4 - A tag is something that is part of and opens and closes an element
5 - It consists of the name of the element wrapped in angle brackets
6 - Attributes contain extra information about the element that you don’t want to appear in the actual content.
7 - This would be the doctype, html element, head element, element, viewport element, title element and body element
-
What is HTML?
HTML stands for Hypertext Markup Language and is the code used to create web pages. -
What is HTML used for?
HTML is the code that determines the way that information such as headings, texts and images, appears on a web page. -
Why are we learning HTML?
HTML is a basic coding language. It is beneficial to learn it as a foundation to understanding how other coding languages operate. -
What is an HTML tag?
An HTML tag is an instruction written in code as to how something should be displayed. It contains an opening tag, the content to be displayed, and then a closing tag. -
What is the structure of an HTML tag?
This depends on the type of information to be displayed. For example, a paragraph would be tagged as:<p> Paragraph content </p>
-
What is an attribute?
Attributes are pieces of information written within HTML tags but are not displayed within the actual content. I.e. they are hidden from the web page display. -
What is the anatomy of an HTML document?
HTML documents contain the following elements:
<!DOCTYPE html>
- this is necessary to let the browser know it’s working with an HTML file.
<html></html>
- this wraps all content on the page and is known as the root element.
<head></head>
- this contains information that is not visible to webpage viewers.
<meta charset="utf-8">
- this sets the characters to be used for the text.
<meta name="viewport" content="width=device-width">
- makes sure the webpage renders at the width of viewpoint. I.e. making it easily readable for mobile users.
<title></title>
- sets the title in the browser tab.
<body></body>
- contains all the elements that viewers will see in the webpage.
Hypertext markup language
Creating web pages
As a precursor to learning javascripts to build blockchain pages
Element which defines how content looks like. e.g. quote here.
Opening tag with closing tag with and content in between
Something which further defines content e.g. here Adamfortuna is replied to.
Tags, elements and content in short.
1. What is HTML?
It is a markup language that began with the idea of how a page in a book is structure. This language defines the structure of your content.
2. What is HTML used for?
This language is used to give structure to how words will appear on a page, and structure of importance like the structure of a book.
3. Why are we learning HTML?
We need to know how to add order to our website, communicate importance, and extra information for the impaired.
4. What is an HTML tag?
The tag is an element that is used to communicated what to do, or the purpose of that is inside the tags.
5. What is the structure of an HTML tag?
You have and opening tag to indicate the beginning and a closing tag to mark the ending of what is inside the tags.
6. What is an attribute?
An attribute is extra information that in added to the open tag. This is usually used in CSS to refer to that set of tags.
7. What is the anatomy of an HTML document?
This is how all the elements work together to make an HTML document work. In the same way all the different part of a car work together to make a car run.
!DOCTYPE html> Tells what language is being used, HTML.
html> /html> It marks the beginning and end of all HTML on this page.
head> /head> All information you what to communicate to the browser but not show on the web page is in here.
meta charset=“utf-8”> Tells what character set your document should use.
meta name=“viewport” content=“width=device-width”> Ensures the page renders at the width of viewport, preventing mobile browsers from rendering pages wider than the viewport and then shrinking them down.
title> /title> Decided what will be seen in the browser tab.
body> /body> his 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.