Jump to content

Bev

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Bev

  • Rank
    Newbie
  1. I have been using Microsoft Web Matrix to test my code and am beginning to wonder if it is my problem. Would you please suggest another application to test my code. I don't have server manager on my laptop.
  2. HERE IT IS body {background-color: #000000;}h1 {font-family: "Arial";font-size: 40px;color: #FFCC00;text-align: center;}ul {list-style-type: none;margin: 0;padding: 0;}li {display: inline;}p {font-family: "Arial";font-size: 20px;color: #FFCC00;}a:default {background-color: #FFCC00;font-family: "Arial";font-size: 40px;color: #000000;}a:hover {background-color: #FFCC00;font-family: "Arial";font-size: 40px;color: #0066FF;} <!DOCTYPE html><html><head><title>Landing Page</title><meta charset="UTF-8"></head><body><ul><li>&l
  3. I received these 2 messages for each occurrence. Unknown element 'a href' or element cannot be placed here. Element 'a href' cannot be nested inside element 'li'.
  4. I copied the following code from the navigation bar example and tried it in my webpage. I received an error message that stated that href was not allowed in the <li> tag. What did I do wrong? What else is needed to make it work> <!DOCTYPE html> <html> <body> <ul> <li><a href="#home">Home</a></li> <li><a href="#news">News</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#about">About</a></li> </ul> <p>Note: We use href="#
×
×
  • Create New...