Starts with an opening tag and ends with a closing tag
!DOCTYPE html
html
head
/head
body
/body
html
Starts with an opening tag and ends with a closing tag
!DOCTYPE html
html
head
/head
body
/body
html
What is HTML? it is a markup language that defines the structure of your content. 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.
What is HTML used for? You use it to enclose, or wrap, different parts of the content to make it appear a certain way, or act a certain way.
Why are we learning HTML? It is a first introduction to a programming language which will be used on the front-end of development.
What is an HTML tag? The tag opens and closes all content and are the start and end of the element
What is the structure of an HTML tag? Opening tag, content, closing tag
What is an attribute? They contain extra information about the element which will not appear in the content
What is the anatomy of an HTML document? , , , , ,
<!DOCTYPE html>
ā the doctype which is just there at the start of all html documents due to legacy and not for any real purposes.<meta charset="utf-8">
- the element which sets the character set as UTF-8 which includes most characters from the vast majority of written languages.1. What is HTML?
HTML = HyperText Markup Language
It is NOT a programming language, it is a MARK UP language, it defines the structure of your content.
2. What is Html used for?
Html consist of a series of ELEMENTS, which you use to āencloseā or wrap different parts of the content to make it appear or act in a certain way.
3. Why are we learning HTML
HTML is in the browser and it shapes, defines how a website looks and feels like to a user; the front end, with buttons, text pictures videos, that interact with code from back end from developer.
4.What is HTML tag?
The enclosing ātagsā can make a word or image āhyperlinkā to somewhere else;it can āitalic-izeā words, can make the āfontā bigger or smaller and so on.
5. What is the āstructureā of an HTML tag?
In HTML, a tag is used for creating an element.
An HTML element has a name like p = paragraph
an has angle brackets beside it.
Structure is :
1 = is for opening
3 = is for closing.
2 = is content inbetween
6. What is an attribute?
Attributes contain extra information about the element that you donāt want to appear in the actual content. Only viewable to developers, not front end users.
attribute is :
class=āeditor-noteā
so this part in the full line is not visible to the front end user.
full line is:
< p class=āeditor-noteā>My cat is very grumpy< /p>
extra:
āclassā is the attribute NAME
āeditor-noteā is the attribute VALUE
āclassā is a ānon-uniqueā identifier that can be used to TARGET āitā (and any other elements with the āsame class valueā) with style information and other things.
like in M-words you can use find and replace function and look for a word, replace that word or replace every other instance in the document where that word was used - so it means TARGET and do something to it.
7. What is the anatomy of an html document?
My cat is very grumpy
< p> = opening tag
< /p> = closing tag
My cat is very grumpy = content
1+2+3 = element
1. The opening tag: it has angle brackets = <>
and inside is the element ānameā , here it is = p - for paragraph
full = <p>
use = shows where paragraph begins
by the way, the grey box I think is the āparagraphā in action
2. The closing tag: it starts with 1 angle bracket = < , a forward slash = / ,
the element name = p , then another bracket = >
full = </p>
use = shows where paragraph ends
What is HTML?
HyperText Markup Language.
What is HTML used for?
HTML is not a programming language, it is a markup language that defines the structure of the content. 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.
Why are we learning HTML?
HTML is useful to make the a simple web page
What is an HTML tag?
it is the boundaries of an element in the page.
What is the structure of an HTML tag?
it consists of the name of the element (like p for paragraph) wrapped in opening and closing angle brakets.
What is an attribute?
an attribute is used in order to add extra information that you dont want to appear in the front, for example the text type. An attribute should always have the following:
A space between it and the element name (or the previous attribute, if the element already has one or more attributes).
The attribute name followed by an equal sign.
The attribute value wrapped by opening and closing quotation marks.
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>
is start tag, with different letters giving different results.
is end tag, tells where started element ends. If you forget to end elements or any code some strange things will happen so ALLWAYS end your commands and code straight away!!!HTML Reading Assignment
What is HTML?
A: HTML is a markup language to organize and display content as a static webpage.
What is HTML used for?
A: To organize and display content on a static web page.
Why are we learning HTML?
A: By learning HTML weāll get our minds used to writing and reading code and weāll be able to build a simple website to display our blockchain work once we that far.
What is an HTML tag?
A: A tag is the name of the HTML syntax used to affect elements on your static page.
What is the structure of an HTML tag?
A: There are an opening and closing to each tag which encapsulates the element.
What is an attribute?
A: Attributes are used to add additional styling to the tag, for example, size, padding, and CSS classes or IDs.
What is the anatomy of an HTML document?
A: !doctype html ( declares the type of document and was used in the beginning to verify the standardization and quality of a website, now itās just a legacy artifact thatās still included), html (wraps like the first tag of the webpage and is considered the root HTML tag), head (encloses all the things you want in your page like keywords or stylesheets that are displayed to viewers), body(encloses all of the elements of your web page that are displayed to viewers).
[quote=āivan, post:1, topic:3055ā]
What is HTML?
Is a markup language that defines the structure of the content.
What is HTML used for?
Is used to structure the web page and its content
Why are we learning HTML?
It is the fundamentals and basics of also other programming languages.
What is an HTML tag?
An html tag is a set of characters constituting a formatted command for a Web page
What is the structure of an HTML tag?
The opening tag:
The closing tag
The content
The element
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?
Every HTML document consists of two elements:
Head elements - provides page title and general page formatting commands.
Body elements - put the main HTML text in this part.
What is HTML?
Hypertext Markup Language is the code that is used to structure a web page and its content
What is HTML used for?
It is used to give an order, shape and structure to text and images.
Why are we learning HTML?
It is an easy way to start getting used to the way information is encoded and structured
What is an HTML tag?
A tag gives a format to an element and encloses the text and gives the classification and structure needed inside the HTML document
What is the structure of an HTML tag?
It consists of an opening tag and a closing tag. For examaple. < p> content < /p >
What is an attribute?
Itās an element that contains extra information, it adds a name and a value that itās only visible for the coder.
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>
You can use the āPreformatted Textā Button to encapsulate any kind of code you want to show.
function formatText(){
let words = āIām a preformatted Text box, Please use me wisely!ā
}
Carlos Z.
Great answers. Itās easy to understand. Great work.
Carlos Z.
HTML Answers
Hypertext Markup Language (HTML) consists of different elements used to enclose or wrap different pieces of content in order for them to appear or behave a certain way.
HTML is used to structure a web page and its contents.
To have a functioning end product, to show your knowledge, a website can work a the front end for your dapp while your smart contract controls the back end.
In HTML a tag is used for creating an element.
The opening tag, the closing tag, and the content together comprise the element.
Attributes contain additional information about the element that you do not desire to be seen in the actual content
The anatomy of an attribute consists of space between itself and the element name, the attribute name followed by an equal sign, and the attribute value wrapped by opening and closing quotation marks.
What is HTML?
What is HTML used for?
HTML stands for Hyper Text Mark up Language and is used to structure and dress web pages. It displays information to users in a customised format by communicating to the browser.
Why are we learning HTML?
HTML is essential for building web applications as it forms the structure of it. In our context, if you want to build a smart contract and make it accessible via a relevant website, you will need to build a web application to present it, this requires you to build the foundations using HTML.
What is an HTML tag?
It is used to define text on a web page
What is the structure of an HTML tag?
The structure of an HTML tag is to have it wrapped around the text you wish to edit or organise. It must have an open tag for example:
and be closed with the same tag except with the additional forward slash added infront of the p tag:
. Looking like this:Hello
What is an attribute?
An attribute is something you can add further detail to elements that will edit it in various ways such as width thickness or other functionalities that more interaction.
What is the anatomy of an HTML document?
The structure of an HTML document starts with the DocType declaration at the top followed by the tag and then the tag closed by the html tag. This is a rough list but is approximately that.
What is HTML?
HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content; it is a markup language that defines the structure of your content.
What is HTML used for?
HTML is used as a markup language to define the structure of content.
Why are we learning HTML?
We are learning HTML in order to learn the ābasics of programmingā and to create visually appealing āfront endā products from consumers.
What is an HTML tag?
HTML enclosing tags can make a word or image hyperlink to somewhere else, can italicize words, can make the font bigger or smaller, and so on.
What is the structure of an HTML tag?
The structure of an HTML tag consists of the opening tag and the closing tag.
The opening tag: This consists of the name of the element, wrapped in opening and closing angle brackets. This states where the element begins or starts to take effect. i.e.- (<a>).
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. i.e.- (</a>).
What is an attribute?
An attribute contains extra information about the element that you donāt want to appear in the actual content.
What is the anatomy of an HTML document?
<!DOCTYPE html> ā doctype. It is a required preamble.
<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/favorite 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.
<!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>