XHTML introductory learning tutorial: Use of list tags_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:44:36
Original
1164 people have browsed it

Lists are used to list a series of similar or related items. Unordered list (list of items) The tag for
unordered list is

    , and each list item is tagged with
  • . Next, we will use an unordered list to rewrite our "index.html". After opening the previously saved file, modify the code in the "Services for Students" section to the following unordered list code:

    Services for students



    • Ghostwriting for winter and summer vacation assignments (mathematics does not guarantee that there are no wrong questions, Chinese does not guarantee that there are no typos, English homework you Find someone else)

    • Help bully students fourth grade and below, extra fees will be charged for special cases.

    • Parents will help pretend to be parents.


    Browse the web page after saving. Please confirm that your web page is the same as this page. . ordered list
    The tag for an ordered list is
      , and the list items are still
    1. . We then use an ordered list to rewrite the "for parents" section of "index.html", and change the
        in the code we just modified to
          :

          1. Ghostwriting for winter and summer vacation assignments (Mathematics no guarantees no typos, Chinese no guarantee no typos, find someone else for English homework! ).

          2. Help bully students below fourth grade, Special bodies are subject to additional charges.

          3. Parents will help Pretend to be a parent.


          After saving and browsing the webpage, please confirm that the effect of your page is the same as this page. We can see that the difference between an unordered list and an ordered list is whether each item is preceded by a dot or a number.
        1. source:php.cn
          Statement of this Website
          The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
          Popular Tutorials
          More>
          Latest Downloads
          More>
          Web Effects
          Website Source Code
          Website Materials
          Front End Template