HTML Foundations Flashcards
What is HTML and what does it stand for?
HTML stands for Hypertext Markup Language and is the raw data that a web page is built of. Text, links, cards, lists, buttons, images, and videos are all made from HTML.
What is CSS and what does it stand for?
CSS stands for Cascading Style Sheets and adds style to HTML elements like color, font, size, position, format, layout, and overall presentation of your website.
What is JavaScript?
JavaScript is a programming language, compared to HTML and CSS which are not since they do not use logic, that makes a web page do things and creates interactivity.
What are HTML Tags?
HTML Tags consist of an opening and closing tag and in between those tags hold information or content.
What are self-closing HTML Tags?
Self-closing HTML Tags are HTML Tags that only need an opening or closing tag to work. They do not wrap any content, so they only need one tag.
What are HTML Elements?
HTML Tags AND Content. HTML Tags are the individual tags themselves, while HTML Elements are the HTML Tags AND the content that is wrapped in-between those tags.
Why is it important to use the correct and appropriate HTML Tags?
Using the correct HTML tags is important because tags can have a big impact on two aspects of your sites:
1) How they are ranked in search engines and
2) How accessible they are to users who rely on assistive technologies. Basically, how your site can be accessible for everybody!
What is an HTML Boilerplate
The HTML Boilerplate is a template you will add at the start of your project that contains base information that is needed to encode your web page. All HTML pages have a boilerplate.
What is the importance of having the file index.html?
index.html is the file that will contain the homepage of our websites and should always contain the homepage. By default, web servers will always look for an index.html page when users use the website. Without index.html, big problems may occur.
(HTML Boilerplate) What is the HTML element and what should it contain?
The HTML element is the root element of the document. It holds every other element in the document
What is a DOCTYPE declaration in an HTML page?
Every HTML page starts with a DOCTYPE declaration that tells the browser what version of HTML it should use to render the document. The declaration is
(HTML Boilerplate) What is the Head element and what does it hold?
The Head element is where we put important meta-information about our web pages that is required for them to render correctly in the browser. Does not contain any content that displays on the web page.
(HTML Boilerplate) What is the Charset Meta Element:
The Meta tag is required for the charset encoding of the web page in the Head element. This encoding is very important so the web page will display special symbols and characters from different languages in the browser.
(HTML Boilerplate) What is the Title element and what does it hold?
The Title element is nested inside the Head element and contains the name of the web page in the browser.
(HTML Boilerplate) What is the Body Element and what does it hold?
The Body element is nested in the HTML element after the Head element and contains the displayed content of the web page.