Reading Assignment: HTML
Ivan Tech Tech
JAVASCRIPT
- Reading Assignment: HTML
HTML & Web
If you are stuck, have tried your best to get unstuck and still can’t figure it out, please post here (I am completely stuck).
Before we get our hands dirty and actually start coding we would like to tell you that if you have any questions at all use the forum (forum.ivanontech.com)!
Here is the specific thread for this section:
HTML Basics Dicsussion
So what is the task?
Read this article (https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/HTML_basics). While reading, try to answer the following questions.
What is HTML?
HTML is a markup language
What is HTML used for?
is the code that is used to structure a web page and its content.
Why are we learning HTML?
To design a web pages
What is an HTML tag?
The 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?
For example, take the following line of content:
My cat is very grumpy
If we wanted the line to stand by itself, we could specify that it is a paragraph by enclosing it in paragraph tags:
My cat is very grumpy
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? The main parts of our element are as follows: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 — in this case where the paragraph begins.
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 — in this case where the paragraph ends. Failing to add a closing tag is one of the standard beginner errors and can lead to strange results.
The content: This is the content of the element, which in this case, is just text.
The element: The opening tag, the closing tag, and the content together comprise the element.