answersLogoWhite

0


Best Answer

This is the code:

<!doctype html>

<head>

<title>Home</title>

<style type="text/css">

body {

background-color: hsl(170,75%,25%;}

p {

font-family: Poiret One, Cabin, Helvetica, Arial, sans-serifl;

font-size: 14px;

font-weight: normal;

line-height: 18px;

color: hsl(60,85%,75%;}

h1, h2, h3 {

letter-spacing: 0.1em;

font-family: Amatic SC, Comfortaa, Architects Daughter, Times New Roman, Times, serif;

font-weight: bold;

color: hsl(300,85%,75%);}

h1 {

font-size: 28px;

line-height: 36px;

text-shadow: 1px 1px 0px #000000;}

h2 {

font-size: 21px;

line-height: 27px;}

h3 {

font-size: 16px;

line-height: 20px;}

a:link {

color: #f0ffff;

text-decoration: none;}

a:hover {

color: #6495ed;

text-decoration: underline;}

</style>

</head>

<body>

<h1>Home</h1>

<p><ul>

<li><a href="index.html">Home</a></li>

<li><a href="poetryandshortstories.html">Poetry and Short Stories</a></li>

<li><a href="about.html">About</a></li>

</ul></p>

<p> </p>

<img src="images/girlumbrellarain.jpg" alt="" width="150" height="100"/>

<p> </p>

<p><q>A wise girl kisses but doesn't love, listens but doesn't believe, and leaves before she is left.</q><br />-<abbr title="Marilyn Monroe">M.M.</abbr></p>

</body>

</html>

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why won't my CSS coding apply to my HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is CSS coding the same thing as HTML coding?

No it is not


What coding is used on Neopets?

User-created web pages use HTML and CSS, and TNT pages (owned by Neopets) use HTML, CSS, and JavaScript.


How many tag css css3 in HTML?

You can apply as many tags as you want. The CSS tags apply style to the content


Can you use HTML to reveal hide?

The short answer is no. If you want to reveal or hide elements on a web page then you will need to use a combination of HTML coding and CSS coding. Example:content you wish to hide goes here


What is static HTML pages?

A static page is one that has nothing but straight HTML coding (maybe with CSS, but not necessary) and does not depend on the server to build the page.


How to design a website like this website for coupons and offers?

You can simply learn about HTML, CSS coding and you are ready to go with.


How do you apply css code in HTML?

"class" is an attribute of most if not all HTML tags. To apply a CSS class to a tag, simply make the class attribute equal to that CSS class. For example, suppose you have a CSS class called bigRed that makes text large and red. If you want to apply it to a certain text, just put it in a tag surrounding that text. e.g. . . . but my &lt;span class='bigRed' &gt;car&lt;/span&gt; was faster than . . .


Would you recommend Khan academy to learn coding?

The coding is limited to JavaScript, HTML/CSS and SQL and is really nothing more than an introduction to web-based programming.


How does CSS inhance HTML?

CSS handles the presentation portion of displaying an HTML document on the web. That is to say that CSS makes things like color, size, shape, weight, etc. possible in HTML. To say that CSS "enhances" HTML, however, is an over simplification. CSS provides separate and different functionality than HTML does. HTML does not have the abilities inherent in CSS. Instead, the CSS code makes HTML code more palatable for a human user. Most web spiders, for instance, do not employ HTML fully, if at all.


What is meant by webdesign?

The creation of websites pretty much, using coding languages like HTML, CSS, PHP and such :) hope i helped


What is HTML-only?

All websites use HTML, but some sites use HTML in conjunction with one or more other coding languages like Javascript or CSS. HTML-only means it uses just the basic coding.


How do you convert a PSD template to a HTML or CSS file?

You can hire some professional for PSD to HTML conversion but in most cases you would not get the quality work. If you want to do it your self then better go through photoshop, css, HTML expertise and then try it. For quality you may use following constraints : pixel to pixel accuracy in HTML page with PSD file W3C validation for HTML coding and CSS file Divisional Structure also known as table less structure optimized images for web using proper coding standards for seo friendly structure proper commenting There are lot more but these are basics.