Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other very easy code question?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33408
    chanman
    Member

    This is a very easy question for alot of people but I don’t know the answer. I know in css if you add

    /* text*/ 

    the slash and star it will not show up on anything until you remove them. Is there anything for html or php that allows you to do the same concept. If you don’t understand what I’m saying just say so and I will rewrite the question.

    #83015
    fishnfrogs
    Member

    For HTML:

    For PHP and Javascript:
    single line

    //TEXT

    For PHP and Javascript:
    multi line

    /*
    TEXT
    */

    Hope that helps :)

    #83019
    chanman
    Member

    THANKS THAT WAS IT.

    #83020
    mshort1985
    Member

    they are called “Comments” btw :) so if you ever need to know the syntax for them in other languages just google “Comments in ” and you’ll get a bunch of pages that have the answer :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.