Jump to content
Can't remember your login details? Read more... ×
UserInterface

Help with code in dreamweaver

Recommended Posts

li class="level_1 first branch on current" id="nav_bspel-about"><a href="About Us.htm"><span>About Us</span></a></li>

Could some one tell me what the first part up to about us does?

 

I can not seem to find what it links to in teh design view.

Share this post


Link to post
Share on other sites

<li> represents an item in a list (a list item), <a> represents a link. The attribute 'href' refers to the destination of the link

 

<a href="http://www.google.com">visit google</a>
becomes

visit google

 

ID is for uniquely identifying an element in an HTML document, but it does other stuff. class specifies what class the element is a member of. Elements can belong to multiple classes and multiple elements can belong to the same class, unlike with id.

 

Is that what you wanted to know?

Share this post


Link to post
Share on other sites

<li> represents an item in a list (a list item), <a> represents a link. The attribute 'href' refers to the destination of the link

 

<a href="http://www.google.com">visit google</a>
becomes

visit google

 

ID is for uniquely identifying an element in an HTML document, but it does other stuff. class specifies what class the element is a member of. Elements can belong to multiple classes and multiple elements can belong to the same class, unlike with id.

 

Is that what you wanted to know?

 

Thanks for quick responce!!

It was the list part that i could not work out, i guess it means that my nav links down the left are a list..

 

Thanks heaps!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×