Section 2 - Introduction to HTML Flashcards
Websites are made with what 3 rendered files?
- HTML
- CSS
- JavaScript
What’s the one type of file that you can use alone to create a website?
an HTML file (earliest webpages were made with this)
What does HTML define for a website?
the content and structure
What are 4 examples of things that HTML is responsible for on a site?
- text
- images
- buttons
- links
What is CSS responsible for on a website?
the styling
(background color, rounded button corners, etc)
What is JavaScript responsible for?
it’s the code that adds functionality to the website to do things
(send an email, post on Instagram, type in a search box)
What is HyperText?
text you can click that links to other pages
(also called HyperLinks)
What is Markup Language?
markings like bold, italics, underline, etc
What are tags?
Anything inside the angle brackets < >
Example <h1> </h1>
Do you use a forward slash or backslash to close tags?
Forward
What are the 2 types of tags?
Opening and closing tags
What is an element?
The entire thing (content, opening and closing tags)
Makes up the HTML element
“This heading element”
How many levels of headings are there?
1-6
What happens if you don’t add paragraph tags to your text?
There’s no formatting, they’re on the same line, hard to see where one sentence ends and another begins
What do the paragraph tags look like?
<p> </p>