Jump to content

abyssXX

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by abyssXX

  1. By default it will only execute .php files using PHP. If you want to execute PHP in other file types, you will need to configure Apache to do that. Unless you have control over a web server where you will change that setting online, then its better to leave it like it is.
    i made the hello world program and saved it as php test.php but some reason it opens in microsoft picture editor or somthin and then says cannot open
    <html><body><?phpecho "Hello World";?></body></html>

  2. It points to a URL which stores the syntax rules the validator/browser must follow. Beware that browsers most of the times don't use the descriptions there, but only use the URL to check the language (ensure that's the one). Validators however, do use it.

    so can i use the doctype that is provided by w3schools or do i need to change anything?
  3. a form and a fourm are 2 very different things...fourms easy the basicsjust incase u dont know

    <form><p>username:<input type="text" name="user"><br>password:<input type="text" name="password"><br>date of birth:<input type="number" name="DOB"></p><p>######:<input type="radio" name="######" value="male">male<br><input type="radio" name="######" value="female">female</p><p>i have passed in ECDL<br> <br>powerpoint <input type="checkbox" name="powerpoint"><br><br>excel <input type="checkbox" name="excel"><br><br>word <input type="checkbox" name="word"><br><br>database <input type="checkbox" name"database"><br><br>concepts of ict <input type="checkbox" name="COict"><br><br>internet <input type="checkbox" name="internet"></p><p>  <select name="where_did_you_here_about_us?">    <option value="internet">internet</option>    <option value="friend">friend</option>  </select></p><input name="button" type="button" value="submit"></form>

  4. It is so the browser knows what version/type of HTML/XHTML you are trying to write. Also the W3C validator uses it as well to check your syntax.

    but what does the link do?
    <!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

×
×
  • Create New...