notes Flashcards
how to put space between boxes
margin
1how to put space from inside of the button
padding
padding is an alternative to
height and width
how to align boxes
vertical - align : top or bottom
how to represent a paragraph in html
<p></p>
how to target a class in css
put a full stop before the class name
property for centering text
text - align:centre
how to make text bold
font - weight : bold
how to change text font
font-family: whatever font here
how to force a sentence into two lines
use width
how to change the spacing in between lines
line-height:
what is a html entity
lets us take out special characters such as checkmarks
what are text elements and some examples
an element that changes text within a paragraph
- strong></strong makes the specific text bold
- <u> underlines it
- <span> allows u to style it urself</span></u>
what is nesting
an element in another element
what is a void element
an element that doesn’t have a closing tag
block elements
take up the whole line
in-line block element
only takes up as much space needed
how to convert block to inline block
display : inline-block
how to target two classes in css
using a comma between both classes
how to underline
text-decoration : underline
how to create a shadow
box-shadow
how to add spacing on the inside of a button
padding
how to centre text
text - align :centre
what does margin do
puts spacing between paragraps/words etc
an inlign element
appears within a line of text