Nesting tags within address element

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MehrdadM2
    New Member
    • Aug 2014
    • 1

    #1

    Nesting tags within address element

    Can we address tag within the tag's address.
    Because the Mozilla site said that other elements within the tag can not be used but I see more sites within address tags other tags are markup . thank you
  • Exequiel
    Contributor
    • Jul 2012
    • 288

    #2
    did you mean like this one?
    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>Zick Sample</title>
    <style>
    #a,#b,#c{
    	height:500px;
    	width:100%;
    	padding:10px;
    	}
    #a{background:#00F;}
    #b{background:#F00;}
    #c{background:#FF0;}
    </style>
    </head>
    
    <body>
    
        <div id="a">
        	<h3>A</h3>
        	<a href="#a">A</a>
            <a href="#b">B</a>
            <a href="#c">C</a>
        </div>
        <div id="b">
        	<h3>B</h3>
            <a href="#a">A</a>
            <a href="#b">B</a>
            <a href="#c">C</a>
        </div>
        <div id="c">
        	<h3>C</h3>
            <a href="#a">A</a>
            <a href="#b">B</a>
            <a href="#c">C</a>
        </div>
     
    </body>
    </html>

    Comment

    Working...