<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>In-Class Exercise 3</title> <style> .red { color: red; } .giant { font-size: 3in; } .giant .red { background-color: pink; } </style> </head> <body> <p>hello world</p> <p class="red">hello world</p> <p class="giant">hello world</p> <p class="red giant">hello world</p> <p class="red"> <span class="giant">hello world</span></p> <p class="giant"> <span class="red">hello world</span></p> </body> </html>
<!DOCTYPE html> <html> <head> <title>CSS Red Giant Exercise</title> <meta charset="utf-8" /> <style> .red { color: red; } .giant { font-size: 3in; } .giant .red { background-color: pink; } </style> </head> <body> <p>hello world</p> <p class="red">hello world</p> <p class="giant">hello world</p> <p class="giant red">hello world</p> <p class="red"><span class="giant">hello world</span></p> <p class="giant"><span class="red">hello world</span></p> </body> </html>(Edited: 2021-04-07)
hello world
hello world
hello world
hello world
hello world
hello world
<meta charset="UTF-8"> <title>Inclass3</title> <style> .red { color: red; } .giant { font-size: 3in; } .giant.red{ background-color: pink; } </style></head>
<meta charset="UTF-8"> <title>Inclass3</title> <style> .red { color: red; } .giant { font-size: 3in; } .giant.red{ background-color: pink; } </style></head>
<p>hello world</p> <p class="red">hello world</p> <p class ="giant">hello world</p> <p class ="red giant">hello world</p> <p class="red"><span class="giant">hello world</span></p> <p class="giant"><span class="red">hello world</span></p></body> </html>
<head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> <style> .red { color: red; } .giant { font-size: 3in; } .giant .red { background-color: pink; } </style> </head> <body> <p class="red">hello world</p> <p class="giant">hello world</p> <p class="giant red">hello world</p> <p class="red"><span class="giant">hello world</span></p> <p class="giant"><span class="red">hello world</span></p> </body></html>
.red { color:red; } .giant { font-size:3in; } .red.giant { background-color: pink; }</style> </head>
<p>hello world</p> <p class="red">hello world</p> <p class="giant">hello world</p> <p class="giant red">hello world</p> <p class="red"><span class="giant">hello world</span></p> <p class="giant"><span class="red">hello world</span></p>
<style> .red{ color:red; } .giant{ font-size: 3in; } .giant .red{ background-color: pink; } </style></head> <body>
<p>Hello World!</p> <p class="red">Hello World!</p> <p class="giant">Hello World!</p> <p class="red giant">Hello World!</p> <p class="red"><span class="giant">Hello World!</span></p> <p class="giant"><span class="red">Hello World!</span></p></body> </html>
color: red;} .giant{
font-size: 3in; background-color: pink;} </style> </head> <body> <h1>Hello World</h1> <p class="red">Hello World</p> <p class="giant">Hello World</p> <p class ="giant red">Hello World</p> <p class ="red"><span class="giant">Hello World</span></p> <p class ="giant"><span class="red">Hello World</span></p> > </body> </html
<title>In Class Exercise</title><meta charset="utf-8" /> <style> .red{
color:red;} .giant{
font-size:3in;} .red.giant {
background-color: pink;} </style> </head> <body> <p>hello world</p> <p class ="red">hello world</p> <p class ="giant">hello world!</p> <p class = "red giant">hello world!</p> <p class="red"><span class="giant">hello world</span></p> <p class="giant"><span class="red">hello world</span></p> </body> </html>