Can someone explain to me the point of...

Discussion in 'HTML & Website Design' started by gdutchm, Jan 29, 2008.

  1. #1
    Can someone explain to me the point of putting a script into your html. I have read on it and from what i see all it does is the same as what <p> does?

    Maybe the example I was looking at was lame. I am sure there is more to it than what I am seeing.
     
    gdutchm, Jan 29, 2008 IP
  2. angilina

    angilina Notable Member

    Messages:
    7,824
    Likes Received:
    186
    Best Answers:
    0
    Trophy Points:
    260
    #2
    what script?
     
    angilina, Jan 30, 2008 IP
  3. qwertie

    qwertie Banned

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Mmm... a script is very general. In what particular are you talking about?
     
    qwertie, Jan 30, 2008 IP
  4. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #4
    <p> is the HTML tag for a paragraph break.

    The term script, as it has already been stated, is a bit generic. However, scripts are designed to allow server-side processing of functions, where the data should be returned to the user. There are a range of scripts available, so most of them do much more than just create a paragraph break.

    Jay
     
    jayshah, Jan 30, 2008 IP
  5. gdutchm

    gdutchm Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That is mainly the answer I was looking for. It was just the example I was being taught was so shady. Can someone give me an example of a script? Anyone it doesn't matter.
     
    gdutchm, Jan 30, 2008 IP
  6. einsteinsboi

    einsteinsboi Well-Known Member

    Messages:
    1,122
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    140
    #6
    Example, if you insert adsense on your page, that's a script. The code they give you to insert is a script.
     
    einsteinsboi, Jan 30, 2008 IP
  7. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Web scripting applications are simple programming languages that are used in conjunction with HTML/XHTML documents to perform a variety of document delivery, data processing and display enhancing tasks. There are two kinds of scripting: Client-side that is interactive and takes place via Browsers on user computers and Server-side that runs on the Web author's Server delivering the output to user Browsers. JavaScript is the most popular Client-side scripting language and PHP (Hypertext Preprocessor) is the most popular Server-side scripting language.

    James
     
    jamesicus, Jan 30, 2008 IP
  8. qwertie

    qwertie Banned

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Posting on these forums is using a script, when you use a contact form, register on a site. They are all using scripts.

    Nathan
     
    qwertie, Jan 30, 2008 IP
  9. gdutchm

    gdutchm Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Ok. So basically anything that isn't plain text is like a script. A flash ad is an example of a script?
     
    gdutchm, Jan 30, 2008 IP