Krusty. Posted June 11, 2005 Share Posted June 11, 2005 (edited) 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 June 11, 2005 by Krusteee Link to comment Share on other sites More sharing options...
segosa Posted June 11, 2005 Share Posted June 11, 2005 Here's a suggestion: don't write your HTML in Flash's ActionScript editor. Link to comment Share on other sites More sharing options...
ShawnZ Posted June 11, 2005 Share Posted June 11, 2005 (edited) 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? Edited June 11, 2005 by ShawnZ Link to comment Share on other sites More sharing options...
Krusty. Posted June 11, 2005 Author Share Posted June 11, 2005 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 More sharing options...
ShawnZ Posted June 11, 2005 Share Posted June 11, 2005 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 More sharing options...
Krusty. Posted June 11, 2005 Author Share Posted June 11, 2005 Alright, calm down. Ive never done HTML OR made a website before. Link to comment Share on other sites More sharing options...
ShawnZ Posted June 11, 2005 Share Posted June 11, 2005 Sorry, Im just pissed atm at this fellow named Dane Link to comment Share on other sites More sharing options...
Krusty. Posted June 11, 2005 Author Share Posted June 11, 2005 Well dont take it out on me... I just need serious help... Link to comment Share on other sites More sharing options...
ShawnZ Posted June 11, 2005 Share Posted June 11, 2005 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 More sharing options...
Krusty. Posted June 11, 2005 Author Share Posted June 11, 2005 Is it possible to make websites using java script? If so is it hard or not? Link to comment Share on other sites More sharing options...
Johnno Posted June 11, 2005 Share Posted June 11, 2005 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 More sharing options...
ShawnZ Posted June 12, 2005 Share Posted June 12, 2005 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 More sharing options...
Krusty. Posted June 12, 2005 Author Share Posted June 12, 2005 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 More sharing options...
Toadyd Posted June 13, 2005 Share Posted June 13, 2005 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 More sharing options...
Rotten Posted June 13, 2005 Share Posted June 13, 2005 As for previewing your script without uploading it, there is a tutorial on how to set up a webserver here. http://internetmaster.com/installtutorial/index.htm. Link to comment Share on other sites More sharing options...
segosa Posted June 13, 2005 Share Posted June 13, 2005 He just wants to test an HTML page, not PHP.. he doesn't need a webserver for that.. Link to comment Share on other sites More sharing options...
BenMillard Posted June 14, 2005 Share Posted June 14, 2005 (edited) 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. <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! (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 June 14, 2005 by Cerbera Link to comment Share on other sites More sharing options...
MsNobody Posted June 19, 2005 Share Posted June 19, 2005 <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 More sharing options...
Krusty. Posted June 20, 2005 Author Share Posted June 20, 2005 (edited) Umm thanks guys, especially Cerbera. I guess i have loads to learn about HTML.. 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 June 20, 2005 by Krusteee Link to comment Share on other sites More sharing options...
segosa Posted June 20, 2005 Share Posted June 20, 2005 Umm thanks guys, especially Cerbera. I guess i have loads to learn about HTML.. 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 More sharing options...
Krusty. Posted June 20, 2005 Author Share Posted June 20, 2005 Oh... Nevermind then..Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now