I am struggling number 10 of HTML Basics II. Here is my code:
<!DOCTYPE html>
<html>
<head>
<title>Loving the font changes</title>
</head>
<body>
<h1 style="font-family: Arial">Big title</h1>
<ol>
<li style="font-family:Arial">This item is big Arial.</li>
<li style="font-family:Verdana"font-size: 12px" >This item is medium Verdana.</li>
<li style="font-family:Impact">This item is small Impact.</li>
</ol>
</body>
</html>
the style attribute runs from the first till the second quotation mark ("
), if you want to have multiply property’s and values you need to separate them with a semi-colon:
<li style="property1: value1;property2:value2">
property’s are font-family and font-size, and there respective values
I am on font family of HTML basics. Here is a small portion of my code:
<li style="font-family:Verdana" >This item is medium Verdana.</li>
<li style="font size:12 px"
can someone correct it
I have to make this 12 pixels and IT has to have a verdana font. I tried but was unsuccessful. Can someone correct this portion
after font-family:Verdana
add a semi colon and your font-size: 12px