Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
trying to make the list inside bold but nothing working just the text not the picture inside. I tried B but on Nu Html Checker it said no and I did strong to but no

What I have tried:

XML
<ul style="list-style-type:none">
<li>Japan</li>
<li><img src="http://en.toureast.com/portals/0/img/country/japan/japan_header.jpg" alt="Japan" width="400" height="200">
<li>Japan has all was been a place I really wanted to go yes for the games and the anime I’m a nerd but for that late-night Tokyo city<br>
is something I know I’m going to see one day if I keep moving and don’t slow down or go back. </li>
Posted
Updated 18-Sep-17 17:44pm
v5

whats wrong in font-weight:bold[^]
<ul style="list-style-type:none; font-weight:bold">
 
Share this answer
 
You would use a HTML b Tag[^] or a HTML strong tag[^] for each element.

To apply once to all, you would create a style and add it to your CSS[^] style sheet[^].
 
Share this answer
 
Since you requested for the string in HTML, 
The   :strong: tag should be able to help you as seen in the effect below; Please see arrangement below.

<li>Japan has all was been a place I really wanted to go yes for the games and the anime I’m a nerd but for that late-night Tokyo city<br>
is something I know I’m going to see one day if I keep moving and don’t slow down or go back.</li>
 
Share this answer
 
v3
<ul style="list-style-type:none">
<li>Japan</li>
<li><img src="http://en.toureast.com/portals/0/img/country/japan/japan_header.jpg" alt="Japan" width="400" height="200">
<li style="font-weight:bold;">Japan has all was been a place I really wanted to go yes for the games and the anime I’m a nerd but for that late-night Tokyo city<br>
is something I know I’m going to see one day if I keep moving and don’t slow down or go back. </li>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900