HTML/text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hkhamma
    New Member
    • Oct 2014
    • 3

    HTML/text

    Hi. I had found a link to which doesn't work and wondering how this comes about? What kind of link would have at the beginning <body> and at the end text. HTML ?

    Here is the link.
    https://www.p---.com%3c/body%3E%3C/page%3E

    Thanks.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    I'm not sure what you are having problems with.
    An HTML hyper link is created using the anchor tag and it requires that you provide valid URL as the source along with some content that will make it clickable.

    For example, the following is valid HTML for a link:
    Code:
     <a href="www.bytes.com">bytes is great for finding answers!</a>
    The text that you posted doesn't appear to be a valid URL.

    My best guess is that this link was incorrectly generated by server-side code when it dynamically attempted to create the link.

    -Frinny

    Comment

    • Hkhamma
      New Member
      • Oct 2014
      • 3

      #3
      What I am confused with is what exactly does the dashes signify in the link?

      Comment

      • nomad
        Recognized Expert Contributor
        • Mar 2007
        • 664

        #4
        The dash mean you want the link to go to a certain page of a website.
        example would be
        http://bytes.com/ Home page
        http://bytes.com/topic/html-css/answ...9075-html-text This page we are on now.

        How this helps.
        _damon

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          @Hkhamma,

          Dashes can be used in a URL to help separate words within a URL to help people read the it.

          For example, it is easier to read this:
          https://<br /> www.bytes.com/html-cs...xample-of-urls

          Than this:

          www.bytes.com/htmlcss/myexampleofurls


          The url you posted:
          Code:
          https://www.p---.com%3c/body%3E%3C/page%3E
          looks like there is some text missing. Also the fact there there is the %3c after the .com and the fact that it looks like there the URL contains HTML (because there is body within the URL) leads me to believe that the URL wasn't generated properly by the server-side code.

          -Frinny

          Comment

          • Hkhamma
            New Member
            • Oct 2014
            • 3

            #6
            Thanks for the help everyone.

            Comment

            Working...