Github and Website Workshop/HTML CSS review: Difference between revisions

no edit summary
imported>Auria
(Created page with "This is an HTML/CSS reference for the [https://openhatch.org/wiki/Github_and_Website_Workshop Github and Website Workshop]. Below you can find some of the foundational concep...")
 
imported>Auria
No edit summary
Line 77:
** <nowiki><div></nowiki> for [https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements block level elements]
** <nowiki><span></nowiki> for [https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elemente inline level elements]
 
 
 
=CSS=
Line 85 ⟶ 87:
<code>
<link type="text/css" rel="stylesheet" href="style.css"/>
</code>
 
You can add style by referring to
* the HTML tag
<code>
body{
background-color: <COLOUR CODE>;
width: 100%;
height: 100%;
}
</code>
Anonymous user