The marker and the image can be specified : list style : List Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » List Style » list style »

 

The marker and the image can be specified


 
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
          <head>
              <title>list-style</title>
              <style rel='stylesheet' type='text/css'>
      li {
          background: lightyellow;
          border: 1px solid gold;
          padding: 5px;
          margin: 2px;
      }

      li#marker-image {
          list-style: square url('http://www.navioo.com/style/logo.png');
      }

              
              </style>
          </head>
          <body>
              <ul>

                  <li id='marker-image'>
                      The marker and the image can be specified.
                  </li>
              </ul>
          </body>
      </html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo List Style
» list style