Good answers, @petr!
That’s definitely true!
Also, more specifically, we are learning HTML because it is one of the tools we will need to build front-end web pages for dapps.
Good answers, @petr!
That’s definitely true!
Also, more specifically, we are learning HTML because it is one of the tools we will need to build front-end web pages for dapps.
Hi @Jimmyo122,
Welcome to the academy, and this course!
Are you still working on the other questions? I can only see your answers to Q1 & 2…
By the way, if you can post all of your answers together that would be better. Thanks
Good answers, @dpopp1!
…and more specifically, we are learning HTML because it is one of the tools we will need to build front-end web pages for dapps.
Hi @Jody!
Welcome to the course!
Here are a few points for you to think about, and to clarify some of the answers:
Yes…but not only the text, but all of the web page’s content (including images, videos etc.). The different HTML elements define how the different parts of the content should be displayed and/or how they should behave.
…and more specifically, we are learning HTML because it is one of the tools we will need to build front-end web pages for dapps.
That’s the structure (anatomy) of an HTML element. The structure (anatomy) of an HTML document looks something like the following (but don’t worry, we wouldn’t expect you to include the same amount of detail):
Keep learning and enjoy the course!
Great answers, @BrianR!
… and welcome to the course!
I know it may not be very clear, but with Q7 we are trying to get you to describe or show how certain elements are nested within each other in a kind of document hierarchy. Have a look at the following example, just to check that you understand this key idea (but don’t worry, we wouldn’t have expected you to include the same amount of detail):
<!DOCTYPE html>
<html> <!-- root element: encloses all of the content -->
<head> <!-- encloses everything that is not content displayed
directly on the web page -->
<meta charset="utf-8"> <!-- allows text containing most characters
from most languages to be displayed -->
<title>Text appearing in browser tab or when page bookmarked</title>
</head>
<body>
<!-- encloses all content displayed directly on the web page
for users to see and read i.e. text, images, videos etc. -->
</body>
</html>
What is HTML?
Hypertext Markup Language which defines the structure of content.
What is HTML used for?
Building and designing websites.
Why are we learning HTML?
As a foundation to better understand Blockchain Development.
What is an HTML tag?
Consists of opening tags and closing tags which has the elements you want to display in between the opening and closing tags.
What is the structure of an HTML tag?
Opening tag < p > content/elements in between then a closing tag < /p >
What is an attribute?
Extra information that you don’t want shown on the website.
What is the anatomy of an HTML document?
Starts with doctype then a html element, a heading, a title, and a body. You should also include the meta charset, which helps include characters from most of the written languages, as to help with problems.
< !DOCTYPE html >
< htm >
< head >
< meta charset=“utf-8” >
< title>My test page
< /head >
< body >
< img src=“images/firefox-icon.png” alt=“My test image” >
< /body >
< /html >
An attribute is a comment about the element for the programmer that is not suppose to be seen on the web page
<html>
<head>
<meta charset="utf-8">
<title>My test page</title>
</head>
<body>
<img src="images/firefox-icon.png" alt="My test image">
</body>
</html>
1. What is HTML?
HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content.
2. What is HTML used for?
HTML is used to create electronic documents called web pages that are displayed on the World Wide Web.
3. Why are we learning HTML?
Knowing the basics of HTML and CSS and how they’re used to create web pages is a skill that will always be useful.
4. What is an HTML tag?
HTML tags are elements and normally come in pairs like <p>
and </p>
; the first tag in a pair is the start tag, the second tag is the end tag; the end tag is written like the start tag, but with a /.
5. What is the structure of an HTML tag?
Structure is the element of opening and closing tags of the web documents for example.
<html>
<head>
<title>title name here</title>
</head>
<body>
<p> Web content goes here </p>
<ul>
<li>List 1</li>
<li>List 2</li>
<li>List 3</li>
</ul>
</body>
</html>
6. What is an attribute?
An HTML attribute provides additional information about an HTML element.
7. What is the anatomy of an HTML document?
Every HTML document consists of two elements: Head elements which provides page title and general page formatting commands. Body elements which puts the main HTML text in this part.
<!DOCTYPE html>
— the doctype. It is required preamble. In the mists of time, when HTML was young (around 1991/92), doctypes were meant to act as links to a set of rules that the HTML page had to follow to be considered good HTML, which could mean automatic error checking and other useful things. However these days, they don’t do much, and are basically just needed to make sure your document behaves correctly. That’s all you need to know for now.<html></html>
— the <html>
element. This element wraps all the content on the entire page and is sometimes known as the root element.<head></head>
— the <head>
element. This element acts as a container for all the stuff you want to include on the HTML page that isn’t the content you are showing to your page’s viewers. This includes things like keywords and a page description that you want to appear in search results, CSS to style our content, character set declarations and more.<meta charset="utf-8">
— This element sets the character set your document should use to UTF-8 which includes most characters from the vast majority of written languages. Essentially, it can now handle any textual content you might put on it. There is no reason not to set this and it can help avoid some problems later on.<title></title>
— the <title>
element. This sets the title of your page, which is the title that appears in the browser tab the page is loaded in. It is also used to describe the page when you bookmark/favourite it.<body></body>
— the <body>
element. This 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.1. What is HTML?
It stands for HyperText Markup Language.
2. What is HTML used for?
This is the code that is used to structure a web page and its content.
3. Why are we learning HTML?
Introduction to structured code
4. What is an HTML tag?
These are the hidden keywords within a web page that define how a web browser must format and display content.
5. What is the structure of an HTML tag?
<tag>content</tag>
6. What is an attribute?
They contain extra information about the element that does not appear in the actual content.
7. What is the anatomy of an HTML document?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My test page</title>
</head>
<body>
<img src="images/firefox-icon.png" alt="My test image">
</body>
</html>
7. What is the anatomy of an HTML document?
Indeed sir(s), you can check this example i post days ago so you have a better understanding on the HTML anatomy: HTML Anatomy example.
Hope this gives you a clear view of the subject, keep learning!
Carlos Z.
1)a markup language HTML (Hypertext Markup Language)
2)HTML is the code that is used to structure a web page and its content.
3)HTML consists of a series of elements, which you use to enclose, or wrap,
different parts of the content to make it appear a certain way, or act a certain way.
Frontend programming
4) tags indicate where an element begins and ends.
5) content <-- element
6)Attributes (name=“value”) contain extra information about the element, the attribute name and
the attribute value. The name allows to give the element an identifier
to target the element later.
7) how individual elements are combined to form an entire HTML page
1 HTML stands for Hyper Text Markup language.
2 As the name suggests, it is a markup language often used to build webpages.
3 We are learning to use HTML in order to demonstrate blockchain projects
4 HTML tags help the browser identify the format in which the content (text, lists, headings etc) is displayed.
5 the tag begins with <tag_used> and ends with </tag_used>
6 attributes are properties that are attributed to the content inside the tag
7 an HTML includes:
which encloses all the content in the age.
to include content that is not shown to the users.
that sets the character set your document.
sets the title of the page.
contains all the content show to web users.
What is HTML?
HTML stands are Hypertext Markup Language.
What is HTML used for?
It is the code that is used to structure a website and all of the information on it, so that the content can be seen in the desired way when looking at the website in a browser.
Why are we learning HTML?
Understanding HTML is fundamental as it allows us the build an application that can interact with the smart contracts we build in the future.
What is an HTML tag?
A character wrapped in <> brackets, it allows the browser to identify how the content should be displayed.
What is the structure of an HTML tag?
Content</closing tag> . These 3 things combined are known as an element.
What is an attribute?
An attribute provides extra information about the element that should not be visable to the user viewing in a browser. It can also be used to easily identify similar elements so that they can be formatted together later on.
What is the anatomy of an HTML document?
HTML document consists of:
What is HTML?
HTML (Hypertext Markup Language). HTML is not a programming language; it is a markup language that defines the structure of your content.
What is HTML used for?
It is the code that is used to structure a web page and its content.
Why are we learning HTML?
To develop the frontend for the smart contracts we develop.
What is an HTML tag?
The enclosing tags can make a word or image hyperlink to somewhere else, can italicize words, and can make font bigger or smaller, and so on. E.g. Paragraph tag =
.
What is the structure of an HTML tag?
The opening tag: This consists of the name of the element (in this case, p), wrapped in opening and closing angle brackets. This states where the element begins, or starts to take effect.
The closing tag: This is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends
What is an attribute?
Attributes contain extra information about the element that you don’t want to appear in the actual content.
What is the anatomy of an HTML document?
It is how individual elements are combined to form an entire HTML page.
HTML is the HyperText Markup Language; it is not a coding language, but a markup language to just change the appearance of the web page.
This language is used to tailor web pages and structure them to the creators wish.
Web pages are the front end of most dapps. In addition to this HTML is a very basic language that we will build upon.
Tags are the grammatical part of the code, it is on either side of the content and specific to that content.
The opening tag is encased by < > and the closing tag is prefaced with an additional slash </ >.
An attribute is extra info about the element that you don’t want a part of the content, normally used for large format critiquing.
You start with the document type, which is then followed by the body tags. Inside these body tags we will see the header tags which house the character set and the title and anything else you particularly don’t want as content. The body tag follow where you will put the juicy content to fill the page.