The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Hyperlink Bulletpoints, Getting hyperlinks in bulletpoints
Mac117127
post Mar 1 2018, 05:01 PM
Post #1





Group: Members
Posts: 2
Joined: 1-March 18
Member No.: 26,602



Hi guys ,
i know there is probably a rookie error in here somewhere, but when i run my code nothing is displayed along side the bullet points.

<!DOCTYPE html>
<html>
<head>
<title> The Moto Hub </title>
</head>

<body>

<h1 style=“text-align:center;”> The Moto Hub</h1>
<ul>
<li><a href=“NewBikes”Insight to the new 2019 Bikes to be release</a></li>
<li><a href=“PrevResults”A look back on the results so far the year</a></li>
<li><a href=“UpcomingChamps”An insight to the upcoming championships this year</a></li>
</ul>
</body>
</html>

</html>

If anybody could seem to spot the mistake i would be extremly grateful.
Thanks in advance
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 1 2018, 06:34 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,628
Joined: 10-August 06
Member No.: 7



There are a couple of things. First, only use this: " double quote character in HTML, not the curly one. Second, the link start tags are not closed with a > characters. This is what they should look like:

CODE
<a href="NewBikes">Insight to the new 2019 Bikes to be release</a>



User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 1 2018, 08:01 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



If you copy this part...

HTML
<h1 style=“text-align:center;”> The Moto Hub</h1>
<ul>
<li><a href=“NewBikes”Insight to the new 2019 Bikes to be release</a></li>
<li><a href=“PrevResults”A look back on the results so far the year</a></li>
<li><a href=“UpcomingChamps”An insight to the upcoming championships this year</a></li>
</ul>


... and go paste it between the body tags in the text area found at http://htmlhelp.com/tools/validator/direct.html.en the validator will tell you a lot of useful things.

Alas "our" validator doesn't do HTML5, hence the above procedure, and, alas again, the W3C validator at https://validator.w3.org/ that does handle HTML5 recently started to give an almost illegible output even for an old-time validator lover as myself. By all means, try it. But I think you'll understand the output from our validator better.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 2 2018, 05:57 AM
Post #4


.
********

Group: WDG Moderators
Posts: 9,628
Joined: 10-August 06
Member No.: 7



Now I noticed there's an extra </html> end tag as well.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 2 2018, 10:17 AM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



So there is.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 05:23 AM