Jump to content
xisto Community
Bruce517

Css List Vs Html List

Recommended Posts

I am currently learning the basics of web building and i am wondering if and when you should use html lists or css lists? The way i see it is if you are going to make a css list you are going to use that list setup later and just make a html list when u just need it once?did i just answer my own question? or is there a web standard where you should always use css for lists? idk.

Share this post


Link to post
Share on other sites

Html or Css lists ? They are the same thing. Sort of.... Ideally, use HTML to 'structure' your page and CSS to 'style' it. So, use the <ul>, <ol>, or <dl> tag sets to define the list in the HTML page, complete with the list item tags. That gives the content to your page.Then use CSS to make them all pretty and stuff like that.There are no 'lists' in CSS. CSS simply adds styling to the HTML on the page.Hope this helps.

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

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.