where I'm stuck

Its telling me that

is not in the font-family of Arial but thats exactly what I have written

<!DOCTYPE html>
		<title>Table Time</title>
		<h1 style"font-family:Arial">Tables Are Mega Sweet</h1>
		<a href=""><img src=""/></a>
		<img src=""/>


you haven't used the proper syntax you assign a value to style and other attributes using = style="font-size: 20px;" you also always use a semicolon at the end of the property value


Doesn't he just need an = inbetween style and "font......"


OH I'm such a ■■■■■■ I forgot all about the "=" Thanks alot guys


when using css you usev
a semi colon after setting your properties. without it if you were to try and set font-size:30px; it would not read it in the browser


Whenever there is only one line of css that you need then it doesn't require a semicolon, however when there are multiple lines of css then it will require a semicolon after each line. Although it is a good practice to use a semicolon after every line of css no matter what.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.