Make a Number in a sequence with HTML

Readers who sapiential ordered list is used to create a list of where each part has a number in sequence. Starting with <OL> tag and end with the closing tag </OL>. To declare every part used <LI> tags where the tags do not need this cover. Until here I have not understand (wakakakaka). By using this you do not need to write down the numbers again

note the following examples that sit so nicely:

<HTML>
    <HEAD>
      <title>beri nomer bro</title>
    </HEAD>
      <BODY>
        Nama grup band terkenal di indonesia
        <OL>
          <LI> Peterpan
          <LI> Wali Band
          <LI> ST 12 Band
          <LI> Kangen Band
          <LI> D Cinnamons Band
          <LI> The Titans Band
        <OL>
      </body>
<HTML>

The result will look like this:



When friends use the ordered list of the default number is 1,2,3 ... friends can change the number with the TYPE attribute in the tag <OL>. In addition to change the type of numbers, HTML also provides a command to determine the value of early number. Used are START = n, where n is the value of early number.
For example there are below:

<HTML>
    <HEAD>
      <TITLE>Dengan Atribut</TITLE>
    </HEAD>
      <BODY>
        <OL TYPE=A>
          <LI>Nama Orang Terganteng
            <OL TYPE=I>
              <LI>Raihand
              <LI>Triaz
              <LI>Giman
              <LI>Gilang
            </OL>
          <LI>Urutan Lima sampai Terakhir
            <OL TYPE=1 START=5>
              <LI>Wahyu
              <LI>Taufik
              <LI>Tito
              <LI>Ditya

            </OL>

          </OL>
      </BODY>
</HTML>


The result will look like this:




0 comments:

Powered by ShoutJax