You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the default paragraph font size to 14pt by adding font-size: 14pt; (that is, page-level CSS).
Change the font color of the second paragraph to black by defining a style attribute (that is, use inline CSS).
Exercise #2: Styling text
Create a html page with
a main heading (h1),
a div element, with a second-level heading (h2) and two paragraphs in it.
Set the fonts, sizes, colors, text alignment using inline CSS as follows:
main heading to Garamond (with serif as fall-back choice), 36px, blue,
div to Verdana,1.2em,
second paragraph to Courier and right aligned.
Exercise #2b: Importing fonts
Select a new sans-serif font (that is not present on your computer) from Google Fonts and change the main header from the previous exercise to that font (i.e., replace Garamond).