Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

I dont understand


Krusty.
 Share

Recommended Posts

Well, i got Macromedia Flash MX yesterday and i was playing around with it today just seeing if it had an option to create websites/pages and found it has a text editor type thing. So i went into the WD&P Mega Topic to get J-Tiques Beginners guide to HTML as ive never used HTML before, or created a decent website.

So he says about creating your first paragraph, and ive copied his

<p>

This is the first paragraph of my first webpage<br>

</p>

and just edited the text in it saying: Hello and thank you for coming to my site.

But the word for is a dark blue. I am wondering why and if it will f*ck up the script.

Edited by Krusteee
Link to comment
Share on other sites

 

Well, i got Macromedia Flash MX yesterday and i was playing around with it today just seeing if it had an option to create websites/pages and found it has a text editor type thing. So i went into the WD&P Mega Topic to get J-Tiques Beginners guide to HTML as ive never used HTML before, or created a decent website.

So he says about creating your first paragraph, and ive copied his

<p>

This is the first paragraph of my first webpage<br>

</p>

and just edited the text in it saying: Hello and thank you for coming to my site.

But the word for is a dark blue. I am wondering why and if it will f*ck up the script.

gee... maybe because of the fact IT HIGHLIGHTS ACTIONSCRIPT SYNTAX? confused.gif

Edited by ShawnZ
Link to comment
Share on other sites

Gee, maybe its the fact I DIDNT KNOW.

I thought as the script thing is there i could use it...

Link to comment
Share on other sites

Hyper text markup language,

 

Action script.

 

Hyper text markup language,

 

Action script.

 

Markup language,

 

Script.

 

Script editor != HTML Editor.

Link to comment
Share on other sites

Alright, calm down. Ive never done HTML OR made a website before.
Link to comment
Share on other sites

Well dont take it out on me...

I just need serious help...

Link to comment
Share on other sites

Okay then, lets start again, ignoring my current :rampage:ing mood

 

It won't affect your document, its just syntax highlighting. But thats not for writing html so you best not do it in that anyway, notepad is just as good, and Dreamweaver is even better

Link to comment
Share on other sites

Is it possible to make websites using java script?

If so is it hard or not?

Link to comment
Share on other sites

No.

Javascript is simply a "waste-of-space" scripting language, that is inserted into HTML.

 

There is really only one markup language (HTML) that beginners can use to create pages.

Link to comment
Share on other sites

Is it possible to make websites using java script?

If so is it hard or not?

Javascript is a 'Scripting Language' (NOT Flash Actionscript, however actionscript can use javascript) that you can add to pages written in HTML to do dynamic things. For example, when you click a smily in the post box, it runs a javascript function to paste that smily into the message box.

Link to comment
Share on other sites

So i should use Notepad or DreamWeaver. OK.

Also, once i completed my script where can i host it? A decent host though. Geocities and AngelFire are rubbish in my view. Also, is there any place i can preview my script so far?

Link to comment
Share on other sites

There is a list of hosts here, some are just image hosts but you should be able to find something.

 

As for previewing your script without uploading it, there is a tutorial on how to set up a webserver here.

Link to comment
Share on other sites

You can work with HTML documents on your hard drive. Just drag-drop the file into your internet browser. You can even bookmark the page or add it to your favourites, despite it just being a file on your desktop. smile.gif

 

 

<html><head><title>Test Page</title></head><body><h1>Test Page Main Heading</h1><p>Introductory paragraph.</p><h2>Test Page Sub-Heading</h2><p>First paragraph of article.</p><p>Second paragraph of article.</p></body></html>

That is a very simple HTML page. Note that without a load of technical stuff added into the start of the page, it is completely invalid code. Even if you use a file extension of .htm or .html it will still just be a plain text file. Most modern browsers will let you get away with that but can you afford to take the risk? A lot of search engines and website management software simply won't understand the data, especially if you wrote the file on Windows.

 

HTML, like most computing languages, is very complicated and specific. A slightly better page is shown below.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB" lang="en-GB" dir="ltr"><head><title>HTML to XHTML</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><meta name="author" content="Forename 'Nickname' Surname" /><meta name="description" content="Describe your site as though this is what they would show as the sample text in result listings." /><meta name="keywords" content="amateur, beginner, first site, hobby, newbie, personal, practise" /><!-- You don't need this stuff unless you what to change colours:<link rel="stylesheet" href="../style.css" type="text/css" media="screen" title="Graphical style" />--><!-- This is if you make a valid 16x16 shortcut icon for the page:<link rel="SHORTCUT ICON" href="../favicon.ico" type="image/x-icon" />--><!-- Btw, stuff inside these things are comments and are ignored by browsers. --></head><body id="yourdomain_com"><h1>Test Page Main Heading</h1><p>Introductory paragraph.</p><h2>Test Page Sub-Heading</h2><p>First paragraph of article.</p><p>Second paragraph of article.  Here is a list:-</p><ul><li>Unordered list item</li><li>Unordered list item</li><li>Unordered list item</li><li>Unordered list item</li><li>Unordered list item</li><li>Unordered list item</li></ul><p>Third paragraph of article.  Here is a second list:-</p><ol><li>Ordered list item 1</li><li>Unordered list item 2, which contains another ordered list:-<ol> <li>Ordered list item 2.1</li> <li>Ordered list item 2.2</li> <li>Ordered list item 2.3</li> <li>Ordered list item 2.4</li></ol> <!-- The ordered list must be finished before the <li> element which contains it. --></li><li>Ordered list item 3</li><li>Ordered list item 4</li><li>Ordered list item 5</li></ol></body></html>

This assumes Great British English is used. Change all instances of en-GB to en-US for American English or just use en for general English. The meta name="author" should have your name, make sure you don't use full speechmarks ("...") if you include your nickname because they will mess up the code.

 

The keywords describe your site to user agents (search engines, content management software, etc) and the description is the text you suggest that any user agents could use the summarise the page. It is best to use about a dozen keywords or less and keep the description less than about 250 characters so it will be sure to if any user agent does try to display it as a summary.

 

The best place to run basic checks about whether your code is valid is the W3C Validator, since they are the global scientific institute who standardise and manage World Wide Web technologies. The best advice is to keep everything as simple as you possibly can and just learn it a little bit at a time. And don't use tables for layouts! smile.gif

 

 

(EDIT) Lame HTML and CODE tags don't retain the indentation from the actual post. Bah. Should be using a <pre> element in the <td> although, really, it should be using a pair of <div> elements with a <pre> inside the bottom one to avoid it being a layout table. Crappy IPB 1.3 markup...

Edited by Cerbera
Link to comment
Share on other sites

<p>

This is the first paragraph of my first webpage<br>

</p>

You only need the paragraph tags and not the <br> tag. The <br> tag gives you one line which make this:

 

 

Hello there. How are you?

 

 

to this:

 

 

Hello there.How are you?

 

 

If you used a paragraph code instead of a <br> code after the first sentence you'd get:

 

 

Hello there.How are you?

 

Link to comment
Share on other sites

Umm thanks guys, especially Cerbera. I guess i have loads to learn about HTML.. sad.gif

I keep going and see how i get on... Thanks again.

EDIT: I have another question: Which is easier to use, PHP or HTML?

 

Edited by Krusteee
Link to comment
Share on other sites

Umm thanks guys, especially Cerbera. I guess i have loads to learn about HTML.. sad.gif

I keep going and see how i get on... Thanks again.

EDIT: I have another question: Which is easier to use, PHP or HTML?

 

They can't be compared, they are different things. PHP simply allows your HTML to be dynamic.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.