1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can anyone help with an HTLM code?

Discussion in 'BlackHat Lounge' started by Frustrated1, Nov 4, 2015.

  1. Frustrated1

    Frustrated1 Newbie

    Joined:
    Nov 3, 2015
    Messages:
    3
    Likes Received:
    1
    Hi,

    I am trying to create some "back" and "next" page buttons and I seem to be doing something wrong. Here are the button codes:

    <a href="#" class="button"/>Back ◀</a>

    <a href="#" class="button"/>Next ▶</a>

    I have tried to add the needed code to perform the task but either I am not doing something right or it just isn't working...can anyone help?

    Thank you! ;)
     
    Last edited: Nov 4, 2015
  2. Ste Fishkin

    Ste Fishkin Jr. VIP Jr. VIP Premium Member

    Joined:
    May 14, 2011
    Messages:
    2,047
    Likes Received:
    10,422
    in place of the # you need to add the location of your next and previous pages

    if its a static website just put the page urls here, if its something more than this you will require javascript or php.

    If you are stuck I would seek the help of a professional or do a crash course on academy.
     
    • Thanks Thanks x 1
  3. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,055
    Likes Received:
    10,833
    Occupation:
    WHEREZ MA
    Location:
    BITCOINS AT?
    Home Page:
    • Thanks Thanks x 1
  4. dr4goncl5ws

    dr4goncl5ws Junior Member

    Joined:
    Aug 21, 2012
    Messages:
    169
    Likes Received:
    41
    Location:
    Behind You
    Home Page:
    The above users gave good advice.

    I recommend going to http://www.codecademy.com/ and learning some HTML there. It's all interactive and made learning HTML quite enjoyable for me.
     
    • Thanks Thanks x 1
  5. blogbd1

    blogbd1 Power Member

    Joined:
    Apr 19, 2008
    Messages:
    570
    Likes Received:
    356
    Location:
    Undetected
    I strongly agree, its the best place to learn coding with fun. Interactive learning is the key.
     
    • Thanks Thanks x 1
  6. Frustrated1

    Frustrated1 Newbie

    Joined:
    Nov 3, 2015
    Messages:
    3
    Likes Received:
    1
    Thanks everyone! I will definitely check that out!!
     
  7. Sherbert Hoover

    Sherbert Hoover Jr. Executive VIP Jr. VIP

    Joined:
    Dec 26, 2010
    Messages:
    997
    Likes Received:
    8,045
    Occupation:
    ORM - Branding - Content
    Location:
    United States
    Home Page:
    Codecademy is great. I've also been taking HTML and CSS courses through Treehouse. Highly suggested. I've heard Code School is good too but I haven't personally used it.
     
    • Thanks Thanks x 1
  8. Nonilol

    Nonilol Elite Member

    Joined:
    Mar 1, 2015
    Messages:
    1,632
    Likes Received:
    555
    Gender:
    Male
    Occupation:
    Media Informatics & Webdev Student
    Location:
    Hamburg, GER / Southampton, UK
    Home Page:
    +1 for codeacademy. However reading through the basic tutorials from w3c might help too.

    Plus, please learn to google. Googling is usually much faster than posting your question in a forum. At least for such simple ones.
     
  9. Frustrated1

    Frustrated1 Newbie

    Joined:
    Nov 3, 2015
    Messages:
    3
    Likes Received:
    1
    Thank you everyone! I will be checking out codeacdemy!
     
  10. giooo

    giooo Newbie

    Joined:
    Nov 9, 2015
    Messages:
    40
    Likes Received:
    4
    You need to put php code in href="<?php $nextPage ?>"
     
  11. giooo

    giooo Newbie

    Joined:
    Nov 9, 2015
    Messages:
    40
    Likes Received:
    4
    Treehouse is the best. I learned from there and has helped me sooo much. I even got a job offer 3 months after fully learning. Keep sticking to it. Codeacademy is good to understand further technical knowledge of languages. Have you looked into learning MEAN stack? It's worth looking into since I believe Javascript is going to become a much more important language in the coming years.