Creating a <ul> from file names


#1

I am struggling to create an unordered list from file names in HTML, can anyone help?


#2

If your provide us with more information including your code we can help you.


Syntax for ul list:

<ul>
   <li>List 1 </li>
   <li>List 2 </li>
   <li>List 3 </li>
</ul>

#3

  • ABC.DOC

  • DEF.DOC

  • GHI.DOC


#4

Can you post your code? Using the 3 backticks.


#5

<div id="myCarousel" class="carousel slide" data-ride="carousel">
  <!-- Indicators -->
  <ol class="carousel-indicators">
    <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
    <li data-target="#myCarousel" data-slide-to="1"></li>
    <li data-target="#myCarousel" data-slide-to="2"></li>
    <li data-target="#myCarousel" data-slide-to="3"></li>
  </ol>

  <!-- Wrapper for slides -->
  <div class="carousel-inner" role="listbox">
    <div class="item active">
      <img src="img_chania.jpg" alt="Chania">
    </div>

    <div class="item">
      <img src="img_chania2.jpg" alt="Chania">
    </div>

    <div class="item">
      <img src="img_flower.jpg" alt="Flower">
    </div>

    <div class="item">
      <img src="img_flower2.jpg" alt="Flower">
    </div>
  </div>

  <!-- Left and right controls -->
  <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div>

I'd like to remove the and fill the

    list items with files names from my files, so that I don't have to manually add new pictures every single time.

#6

Je pense que tu doit essaier avec

et

pour inserer du texte sur HTML. je suis d├ębutant et qqn aurai pas des conseils pour dv<>