Search
 
SCRIPT & CODE EXAMPLE
 

CSS

list in html css

Here is an example from https://www.w3schools.com/css/tryit.asp?filename=trycss_list-style-type_ex 
<!DOCTYPE html>
<html>
<head>
<style>
ul.a {
  list-style-type: circle;
}

ul.b {
  list-style-type: square;
}

ol.c {
  list-style-type: upper-roman;
}

ol.d {
  list-style-type: lower-alpha;
}
</style>
</head>
<body>

<h2>The list-style-type Property</h2>

<p>Example of unordered lists:</p>
<ul class="a">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Coca Cola</li>
</ul>

<ul class="b">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Coca Cola</li>
</ul>

<p>Example of ordered lists:</p>
<ol class="c">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Coca Cola</li>
</ol>

<ol class="d">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Coca Cola</li>
</ol>

</body>
</html>


Comment

PREVIOUS NEXT
Code Example
Css :: url css 
Css :: scss flex 
Css :: Border property to set the LEFT border to "dotted" 
Css :: border-style css 
Css :: estilos de button css 
Css :: input of type radio css 
Css :: min css 
Css :: for...in...loop 
Css :: wrap text around circle image css 
Css :: how to make text disappear after a certain length css 
Css :: how to make bold text css 
Css :: simple font-face mixin scss 
Css :: grid template 
Css :: visited links do not change color 
Css :: loading animation css 
Css :: reference images from css in django 
Css :: single product page woocommerce css 
Css :: how to style navbar-toggler-icon bootstrap 5 
Css :: css focus 
Css :: Html css forbidden cursor 
Css :: css target type 
Css :: select all elements css 
Css :: max width for tablet 
Css :: scrollbar with 2 different colors on same page css 
Css :: Set the style for links to pages you have visited to any color. 
Css :: display none opposite 
Css :: divider with text css 
Css :: css image responsive on screen zoom 
Css :: ahk borderless fullscreen 
Css :: how to give height equal to parent height css 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =