HTML Bookmarks

User avatar
Graeme
Cosmic Lounger
Posts: 638
Joined: 11 Feb 2010, 12:23
Location: Medway, Kent, UK

HTML Bookmarks

Post by Graeme »

Hello

Bookmarks are fun!

The Nu Html Checker reports the following error:

Capture.jpg

The link syntax was copied from w3schools

This is the Hyperlink:

<p><a href="#Western_Veil_Nebula">Western Veil Nebula</a></p>

This is the Bookmark:

<table class="gallery" >
<thead>
<tr>
<h2 id="Western_Veil_Nebula">Western Veil Nebula</h2>
<br>
<th colspan="2">
<a href="images/Western_Veil_Nebula_NGC6960_210822.png"> Western Veil Nebula</a>
</tr>
</thead>

The hyperlinks work so should I ignore the error reported by the checker or is there a typo that I can't see for looking? Starting to pull my hair out!

Thanks

Regards

Graeme
You do not have the required permissions to view the files attached to this post.

LineLaline
NewLounger
Posts: 14
Joined: 19 Sep 2022, 16:51

Re: HTML Bookmarks

Post by LineLaline »

The <h3> should be inside a <td>, not in the <tr>.

User avatar
Graeme
Cosmic Lounger
Posts: 638
Joined: 11 Feb 2010, 12:23
Location: Medway, Kent, UK

Re: HTML Bookmarks

Post by Graeme »

LineLaline wrote:
24 Sep 2022, 18:08
The <h3> should be inside a <td>, not in the <tr>.
And so it should!

Thanks for that.

Regards

Graeme