The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> validator troubles...
xxkasperxx
post Jun 30 2011, 11:17 PM
Post #1


Serious Coder
*****

Group: Members
Posts: 261
Joined: 30-April 11
Member No.: 14,449



so i added a music player, but when i validate it, it give me 8 errors.. here my html code:
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>Your Wedding</title>

  <link rel="stylesheet" type="text/css" title="default" href="css/main.css"/>

  <script type="text/javascript" src="js/jquery-1.4.1.min.js"></script>
  <script type="text/javascript" src="js/custom.js"></script>
  

</head>

<body id="sector1">
<embed name="music"
src="music/imyours.mp3"
loop="false"
width="300"
height="90"
hidden="true"
autostart="true">
</embed>
<div class="page-container">

        <div class="thegroom"> <!-- "The Groom" description -->
            <h2>The Groom</h2>
                <p>Lorem ipsum dolor sit amet. In lacus nisl, vulputate at eleifend at, consequat nec lectus.</p>        
        </div>
            <div class="thebride"> <!-- "The Bride" description -->
                <h2>The Bride</h2>
                    <p>Lorem ipsum dolor sit amet. In lacus nisl, vulputate at eleifend at, consequat nec lectus.</p>        
            </div>
                <div id="nav-bar">
                    <div class="about"> <!-- Nav Bar Text -->
                    <ul>
                        <li><a href="index.html"  class="links">About Us</a></li>
                        <li><a href="registry.html"  class="links">Registry</a></li>
                        <li><a href="whenwhere.html"  class="links">When + Where</a></li>
                        <li><a href="rsvp.html"  class="links">Rsvp</a></li>
                    </ul>

                    </div>
                </div>
                    
                    
</div>    
</body>
</html>





If you can please check it on the Validator.

I have checked it but like i said its giving me 8 errors, and i dont know how to fix them.. please help
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jul 1 2011, 12:15 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



The embed element isn't included in XHTML 1.0. Actually, it isn't included in any (X)HTML version before HTML 5.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
xxkasperxx
post Jul 1 2011, 04:42 PM
Post #3


Serious Coder
*****

Group: Members
Posts: 261
Joined: 30-April 11
Member No.: 14,449



okay, i am going to put it into a pop-up window so it will continue to play on all pages, and validate. Thank You
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 07:31 AM