Results 1 to 4 of 4

Thread: How to write html code for list with bullet points

  1. #1
    Join Date
    Apr 2009
    Posts
    78

    How to write html code for list with bullet points

    How to write a statement to write bullet point on HTML page? I found that generally the tags for bullets or any written in this manner in the HTML Body. but when i check in the document, that section has no bullet points and each word is on a separate line. And how to display the font in a different color, size and type than the rest of the page.

  2. #2
    Join Date
    Feb 2006
    Posts
    185

    Re: How to write html code for list with bullet points

    You need to use the following convention to write on your word page, once you add those tags to your word page, it would be displayed with the bullets as your output:

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

    Which would create:

    * Bullet 1
    * Bullet 2
    * Bullet 3

  3. #3
    Join Date
    Feb 2006
    Posts
    331

    Re: How to write html code for list with bullet points

    Use both together: <i><b> to do bold italic; and close both (in either order) </b></I> to end it. You can cut and paste the code examples on this page into the webpage editor, and then alter the text within the code for your own purposes. If you nest your lists (put one inside another), they will be indented underneath and the bullet type will change to show the transition, from disc (the default, full circle) to circle to square.

  4. #4
    Join Date
    Mar 2008
    Posts
    335

    Re: How to write html code for list with bullet points

    The only options for bullets are disc (filled in circle), circle or square. In HTML you can use the ordered list tag <ol>, or un-ordered list tag <ul> with each item contained in a list tag <li>. You can gain a lot more felxibility by managing them in CSS.To make a tick you would need to create an image, say using paint, of a tick and save it (eg. images/tick.gif). Then in your html code, you could have:
    <ul>
    <li style="list-style-image: url(images/tick.gif);">Content text...</li>
    </ul>

Similar Threads

  1. How to write HTML codes for pictures
    By softte in forum Software Development
    Replies: 5
    Last Post: 01-10-2010, 12:45 AM
  2. How to style bullet points with CSS
    By SoftWore in forum Software Development
    Replies: 5
    Last Post: 17-03-2010, 06:17 PM
  3. How to write code for pause or stop method in HTML
    By TechPredator in forum Software Development
    Replies: 3
    Last Post: 10-08-2009, 02:39 PM
  4. Word 2003 Crashes using Bullet Points
    By Galla in forum Windows Software
    Replies: 3
    Last Post: 17-03-2009, 03:48 PM
  5. How do I get the HTML code to display as HTML code?
    By NAYASA in forum Software Development
    Replies: 3
    Last Post: 26-12-2008, 01:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,761,008.23987 seconds with 17 queries