TeamTreeHouse HTML Flashcards
(142 cards)
What is another way of thinking about HTML?
HTML is just a set of tags in which content is wrapped
Where do you place .CSS files?
Usually in the same folder as your index.html but in a different file.
What are h tags all about?
h tags represent headlines, from largest to smallest and from < h1 > through < h6 >
Does html without a .css file have any style?
html has default styles w/out css
What is the first line in a html document?
< ! doctype html >
What is the first major tag after the < ! doctype html >
< head >
Which tag is shown in the browser tab?
< title >
Code for a stylesheet …
< link rel = “ stylesheet “ href = “ styles.css “ >
How do you code for lists
< ol >, < ul >
How do you code html for easier readability?
indent
What is another way of thinking of html?
think of html as a series of boxes that live within each other
Which tag “shows” the content?
< body >
Code for an image …
< img src = “https://www. … “ alt = “ some text “ >
Where can you find some random image to input into your webpage while working on it?
www.placeimg.com
What other use does listing a value in the < title > tag have?
screen readers use it for accesibility
Which tag is used to wrap the general content in a webpage?
< main >
What are the three main divisions of a page?
< header >, < main >, < footer >
What info is listed in the main < header > ?
Introductory info, name of site, company logo, main navigation which is a list of links to other pages on the site.
Which tag shows the bulk of content?
< main >
What info is listed in the < footer > ?
Copyright info, social media links, secondary navigation
What can be said about the image tag ?
It is self-closing.
Which tag is used for new paragraphs in html?
< p >
Code for a link to go to the top of the page …
< a href = “ # top “ > TOP < / a >
Code for a clickable image …
< p > < a href = “ # top “ > < img src = “ image.png “ > ME < / a > < / p >