HTML code

Posted on 2009-04-25
Last Modified: 2012-05-06

I recently began constructing an extremely basic website using a prefab website builder at  It has given me all of the functionality I need except for one. That is the ability to create hyperlinks to a different location in the same page.  The website builder allows me to create links to other pages in my website and to external sites but in order to create a link to a different location in the same page, tech support told me I would need to use HTML.

Specifically, the thing I am wanting to do is create an FAQ page with the very common format in which all of the questions are listed together at the top (without any answers) but have each question be a hyperlink that takes the user to a location lower in the page to see the answer.

I have no experience or knowledge of HTML so if doing what I want would be biting off more than I could chew, that's fine. However, if it is not too complicated and could be explained to me once in a way that I could just repeat the process over and over again for each of the questions, that would be great.

Question by:Steve_Brady
    LVL 28

    Expert Comment

    You need to thing

    1) the link   <a href="#firstanchor">
    2) the anchor <a name="firstanchor">

    you can replace firstanchor by whatever you need of course

    the link will redirect where you put the anchor on the page
    LVL 28

    Expert Comment

    correction: "you need to thing" should be "you need two things"
    LVL 28

    Accepted Solution

    to be more specific

    <a href="#firstanchor">This is the first question</a> <<<--- The text will be the link to click on

    somewhere down the page where you will have the answer

    <a name="firstanchor"></a>  <<<--- this will not be visible on the webpage
    Your answer here

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
    In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now