⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pr_list-style-type.asp@output=print

📁 W3Schools tutorial..web designing
💻 ASP@OUTPUT=PRINT
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS List-style-type Property</title>
 
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />

<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</head>
<body>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>


<h1>CSS list-style-type Property</h1>
<hr />
<a href="css_reference.asp"><img class="navup" src="../images/up.gif" alt="CSS Reference" border="0" /> Complete CSS Reference</a>
<hr />

<h2>Definition</h2>

<p>The list-style-type sets the type of the list-item marker.</p>
<p><b>Note:</b> Some browsers only support the &quot;disc&quot; value.</p>

<p><b>Inherited:</b>  Yes</p>

<hr />

<h2><b>JavaScript Syntax</b></h2>
<p>CSS properties can also be dynamically changed with a JavaScript.</p>

<p><b>Scripting Syntax:</b>  <i>object</i>.style.listStyleType=&quot;square&quot;</p>
<p>In our HTML DOM tutorial you can find more details about the
<a href="../htmldom/prop_style_liststyletype.asp">listStyleType property</a>.</p>
<p>In our HTML DOM tutorial you can also find a full
<a href="../htmldom/dom_obj_style.asp">Style Object Reference</a>.</p>
<hr />

<h2>Example</h2>

<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
  <tr>
    <td valign="top">ul<br />
      {<br />
      list-style-type: disc<br />
      }</td>
  </tr>
</table>
<h2>Possible Values</h2>
<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
  <tr>
    <th align="left" valign="top" width="30%">Value</th>
    <th align="left" valign="top" width="70%">Description</th>
  </tr>
  <tr>
    <td valign="top">none</td>
    <td valign="top">No marker</td>
  </tr>
  <tr>
    <td valign="top">disc</td>
    <td valign="top">Default. The marker is a filled circle</td>
  </tr>
  <tr>
    <td valign="top">circle</td>
    <td valign="top">The marker is a circle</td>
  </tr>
  <tr>
    <td valign="top">square</td>
    <td valign="top">The marker is a square</td>
  </tr>
  <tr>
    <td valign="top">decimal</td>
    <td valign="top">The marker is a number</td>
  </tr>
  <tr>
    <td valign="top">decimal-leading-zero</td>
    <td valign="top">The marker is a number padded by initial zeros (01, 02, 03,
      etc.)</td>
  </tr>
  <tr>
    <td valign="top">lower-roman</td>
    <td valign="top">The marker is lower-roman (i, ii, iii, iv, v,
      etc.)</td>
  </tr>
  <tr>
    <td valign="top">upper-roman</td>
    <td valign="top">The marker is upper-roman (I, II, III, IV, V,
      etc.)</td>
  </tr>
  <tr>
    <td valign="top">lower-alpha</td>
    <td valign="top">The marker is lower-alpha (a, b, c, d, e, etc.)</td>
  </tr>
  <tr>
    <td valign="top">upper-alpha</td>
    <td valign="top">The marker is upper-alpha (A, B, C, D, E, etc.)&nbsp;</td>
  </tr>
  <tr>
    <td valign="top">lower-greek</td>
    <td valign="top">The marker is lower-greek (alpha, beta, gamma, etc.)</td>
  </tr>
  <tr>
    <td valign="top">lower-latin</td>
    <td valign="top">The marker is lower-latin (a, b, c, d, e, etc.)</td>
  </tr>
  <tr>
    <td valign="top">upper-latin</td>
    <td valign="top">The marker is upper-latin (A, B, C, D, E, etc.)</td>
  </tr>
  <tr>
    <td valign="top">hebrew</td>
    <td valign="top">The marker is traditional Hebrew numbering</td>
  </tr>
  <tr>
    <td valign="top">armenian</td>
    <td valign="top">The marker is traditional Armenian numbering</td>
  </tr>
  <tr>
    <td valign="top">georgian</td>
    <td valign="top">The marker is traditional Georgian numbering (an, ban, gan,
      etc.)</td>
  </tr>
  <tr>
    <td valign="top">cjk-ideographic</td>
    <td valign="top">The marker is plain ideographic numbers</td>
  </tr>
  <tr>
    <td valign="top">hiragana</td>
    <td valign="top">The marker is: a, i, u, e, o, ka, ki, etc.</td>
  </tr>
  <tr>
    <td valign="top">katakana</td>
    <td valign="top">The marker is: A, I, U, E, O, KA, KI, etc.</td>
  </tr>
  <tr>
    <td valign="top">hiragana-iroha</td>
    <td valign="top">The marker is: i, ro, ha, ni, ho, he, to, etc.</td>
  </tr>
  <tr>
    <td valign="top">katakana-iroha</td>
    <td valign="top">The marker is: I, RO, HA, NI, HO, HE, TO, etc.</td>
  </tr>
</table>
<br />

<hr />
<h2>Try-It-Yourself Demos</h2>

<p><a target="_blank" href="tryit.asp@filename=trycss_list-style-type">The different list-item
markers in unordered lists</a><br />
This example demonstrates the different list-item markers in CSS.</p>

<p><a target="_blank" href="tryit.asp@filename=trycss_list-style-type2">The different list-item
markers in ordered lists</a><br />
This example demonstrates the different list-item markers in CSS.</p>
<p><a target="_blank" href="tryit.asp@filename=trycss_list-style-type_all">All 
the list style types</a><br />
This example demonstrates all the different list-item markers in CSS.</p>

<hr />
<a href="css_reference.asp"><img class="navup" src="../images/up.gif" alt="CSS Reference" border="0" /> Complete CSS Reference</a>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -