General Assembly Prep Flashcards
tags
HTML documents use to tell the browser how to format our content
<h1> </h1>
first level heading
<p> </p>
normal paragraph
normal paragraph tag
<p> </p>
first level heading tag
<h1> </h1>
— attribute / attributes value
attribute is type attribute value is “email”
attributes
attribute is an option for each tag
what is html
HTML is the structure of the content that goes inside the tags. Browsers, provide default style, but its pretty ugly by itself.
what is CSS
CSS controls the style of the HTML content, it lets you change colors, fonts, layout and more
<h1> </h1>
first level heading
<p> </p>
normal paragraph
normal paragraph tag
<p> </p>
first level heading tag
<h1> </h1>
— attribute / attributes value
attribute is type attribute value is “email”
attributes
attribute is an option for each tag
what is html
HTML is the structure of the content that goes inside the tags. Browsers, provide default style, but its pretty ugly by itself.
what is CSS
CSS controls the style of the HTML content, it lets you change colors, fonts, layout and more
boilerplate - basic structure of every website
head
metadata . . . . . . .
body
content …….
unordered list tag
<ul> used to make navigation bar</ul>
how do you use to get info from user
an input tag
text align options
right left center or justify
examples of tags that don’t have > end
<img></img>
<img></img>
background image
background: url(“https…”)
some url background styling
background: url(“http://dash.ga.co/assets/anna-bg.png”);
background-size: cover;
background-position: center;
what is padding
the edge of an element to whats inside the element