Welcome, Guest. Please login or register.

Author Topic: General advice about HTML needed please  (Read 5294 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: General advice about HTML needed please
« on: January 03, 2008, 08:38:24 PM »
Most web servers will automatically handle spaces in filenames, but if you're not sure just put %20 where the space comes and this will be interpreted as a space.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: General advice about HTML needed please
« Reply #1 on: January 04, 2008, 09:52:06 AM »
Glad to see you're learning the code. I hate those "WYSIWYG" editors. Generally I find them to be "WYSIWTSWYTG" - "What You See Is What The Software Wants You To Get". I much prefer to hand-craft any sites I create. Most people don't believe me when they ask me what software I use to create web sites and I tell them "TextEdit" ;-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: General advice about HTML needed please
« Reply #2 on: January 04, 2008, 06:40:55 PM »
Only internal stuff actually. I used to design web apps for the company I worked for, and I wrote everything in PHP using notepad. I stopped doing that when I realised it is very, very boring.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: General advice about HTML needed please
« Reply #3 on: January 06, 2008, 04:13:57 PM »
Quote
Speelgoedmannetje wrote:
oh, and if there's something dirty, it's webdesign, especially by 'hand'...

I disagree. Looking at the code generated by WYSIWIG editors is terrifying. The amount of unnecessary crap that get added to code is just amazing! Efficiently coding the site by hand is much cleaner IMO. I like to write my web sites/apps in PHP in the following structure:



require('header.php');
//Content of page
require('footer.php');

?>


The header and footer pages contain content which is common to all pages, and the header also sets up variables for things like fonts, colours etc. Then when I want to use a standard style element from the site's theme I just echo the appropriate variable. If I want to modify the site's theme I just change the value of the variable in the header and it changes on all pages. Voila! CSS without CSS! :-D

I think that's pretty clean :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: General advice about HTML needed please
« Reply #4 on: January 07, 2008, 01:33:01 PM »
You mean if you want to give more than is offered by HTML? That's not so messy. There's always Flash. Or Shockwave. Or Javascript. Or Java. Or Silverlight. Or any number of other technologies on the web, each of which has its own plugin and its own requirements.

Oh, right... ;-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: General advice about HTML needed please
« Reply #5 on: January 07, 2008, 01:56:47 PM »
ActionScript? :-P

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10