473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How can i display list without Bullets?

Expand|Select|Wrap|Line Numbers
  1. !DOCTYPE html>
  2. <html>
  3. <body>
  4. <ul>
  5.   <li>First Name</li>
  6.   <li>Last Name</li>
  7.   <li>Address</li>
  8.   <li>phone number</li>
  9. </ul>  
  10. </body>
  11. </html>
Apr 11 '19 #1
8 26674
gits
5,390 Expert Mod 4TB
you can use css for that like this:

Expand|Select|Wrap|Line Numbers
  1. list-style-type: none;
Apr 11 '19 #2
AjayGohil
83 64KB
Try this code for list display without bullets
Expand|Select|Wrap|Line Numbers
  1. !DOCTYPE html>
  2. <html>
  3. <body>
  4. <ul style="list-style-type:none">
  5.   <li>First Name</li>
  6.   <li>Last Name</li>
  7.   <li>Address</li>
  8.   <li>phone number</li>
  9. </ul>  
  10. </body>
  11. </html>
May 1 '19 #3
gits
5,390 Expert Mod 4TB
well to have a valid document it should be

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html>
instead of
Expand|Select|Wrap|Line Numbers
  1. !DOCTYPE html>
but other then that its making good use of the above post :)
May 10 '19 #4
Chilibwe
1 Bit
Call in the list style and set it to none. Using gas. Example:

Expand|Select|Wrap|Line Numbers
  1.   <html>
  2. <head>
  3. <style>  
  4. </head>
  5. <body>
  6.   <ul style = "list-style:none"> <li>home</li> </ul>
  7. </body>
  8. </html>
Jul 17 '21 #5
sakshijn
2 2Bits
To create unordered list in HTML, use the <ul> tag.
The list item starts with the <li> tag and will be marked as disc, square, circle, none, etc.

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <ul>
  5.   <li>First Name</li>
  6.   <li>Last Name</li>
  7.   <li>Address</li>
  8.   <li>phone number</li>
  9. </ul>  
  10. </body>
  11. </html>
Jul 13 '22 #6
nehaattri
1 Bit
Create HTML and Add CSS...

Here, I am sharing an example of creating an display list without bullets:

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html>
  2. <html>
  3.   <head>
  4.     <title>Title of the document</title>
  5.     <style>
  6.       ul {
  7.         list-style-type: none;
  8.       }
  9.     </style>
  10.   </head>
  11.   <body>
  12.     <h1>W3Docs</h1>
  13.     <p>Our books:</p>
  14.     <ul>
  15.       <li>Learn HTML</li>
  16.       <li>Learn CSS</li>
  17.       <li>Learn Javascript</li>
  18.       <li>Learn Git</li>
  19.     </ul>
  20.   </body>
  21. </html>
Aug 1 '22 #7
zack23
2 2Bits
You should do the list style none <ul style = "list-style:none"></ul> then you got the list without bullets.
Reference link.
Aug 4 '22 #8
Vanisha
25 16bit
To display a list without bullets, you can use CSS to change the list-style-type property of the HTML list element (ordered or unordered list) to "none".

For example:
<style>
ul {
list-style-type: none;
}
</style>

<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
Feb 7 '23 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Steven Bethard | last post by:
So I need to do something like: for i in range(len(l)): for j in range(i+1, len(l)): # do something with (l, l) where I get all pairs of items in a list (where I'm thinking of pairs as sets,...
5
by: Howard Martin | last post by:
I have a page at http://www.develop.check.com.au/hols/ where I'm trying to put a navigation strip on the left of the page. Try as I may, I can't get rid of the bullets and move the list over to the...
5
by: Yoramo | last post by:
Hello is it possible to display images on a ASPX without having them on the disk of the server ? I have images in a DB and whould like to display them on a web page. writing them to disk...
0
by: DarrenWeber | last post by:
# Copyright (C) 2007 Darren Lee Weber # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
10
by: Aditya | last post by:
Hi All, I would like to know how it is possible to insert a node in a linked list without using a temp_pointer. If the element is the first element then there is no problem but if it is in...
1
by: AnshuGupta | last post by:
Hello, I have an application coded in .Net c# that has to display the list of available time zones. This application supports both english and french language. Is it possible to display the list...
12
by: petter | last post by:
Hi! I have two questions: one question that regards the COUNT-function, and one about how to display a month even if I don’t have any data for that month. I have an Access database where I want...
7
by: jessy | last post by:
i have a JS function which adds items to a list when the user clicks on a button ADD ITEM now i need to get all the items he added in the list without selecting them !! is that possible ? i need to...
0
by: achenini | last post by:
I want to be able to sort a list without using the sort function. I have this algorithm down: BEGIN make a copy of the list make an empty result list LOOP as long as the copylist isn't...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.