What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

Can an Anchor tag be used in a URL ?

Wiley

New member
Joined
Mar 19, 2024
Messages
1
Reaction score
0
HTML Coins
0
I have a website that has 3 sections all on the same page, accessed by scrolling down one section after the other. Is there a way to create a URL that could point to the 2nd section. I tried http://www.website.com/#section_anchor_tag but it didn't work. Did I do it wrong or is this not possible ?
Thanks
 
No. Have you tried to write each page leading to a specific section of the page? When you use an anchor tag. If there's 6 sections to a page, then you'll have 6 web pages all leading to that section. But they are the same page. This belongs in the header. Leading up to that section. <div id=" "></div>
 
Last edited:
document.write("<p>Without this code, your body tag would be empty. This paragraph is created when the browser gets to the script tag</p>");

Try this in your script. Going to the correct section of the document first. <p id="3"> Part you want first.</p>
This redirects your page onload event to search that section first.

Set all your links associated to the sections. 3. Then set the script to <p id="#> or rather <p id="#"><div id="#"></div></p>
on the htm page.
To get to the specific section. onload event
 
Last edited:

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back