Avatar of rtod2
Flag for United States of America

asked on 

Center H1

I need to center the green heading <h1> on line 12, but I am having trouble including both styles.  Please advise if possible.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Lab 3-1b</title>
<div><h1 style="color:green">BEAUTIFUL BACKYARDS</h1></div>
Beutiful Backyards is a new company in town, and we are eager to get your business.  Please take some time to review our simple backyards.

Open in new window

HTMLWeb Development

Avatar of undefined
Last Comment

8/22/2022 - Mon