Hello Guest November 26, 2024, 11:23:00 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1]   Go Down

Author Topic: HTML: Love it or Hate it?  (Read 2694 times)

firestar12

  • Guest
HTML: Love it or Hate it?
« on: May 23, 2009, 14:49:12 »

Do any of you guys use HTML to build websites? What do you think of it? I love it.
Logged

firestar12

  • Guest
Re: HTML: Love it or Hate it?
« Reply #1 on: May 23, 2009, 14:59:33 »

Yes, I wonder if forums support html or just use bbc. Do you have any tips that might be of use to me?
Logged

bsm2003

  • Forum member
  • Posts: 180
Re: HTML: Love it or Hate it?
« Reply #2 on: May 23, 2009, 16:31:22 »

http://www.oreillynet.com/pub/a/php/2001/05/03/php_foundations.html

http://php.about.com/od/learnphp/qt/php_with_html.htm
Logged
Never get caught with your head in the head.

TerryRussell

  • Guest
Re: HTML: Love it or Hate it?
« Reply #3 on: May 24, 2009, 12:04:13 »

All web pages have to be presented in HTML format.

If you mean "Do you write the plain HTML text, or do you use PHP, ASP, PERL etc to write the HTML code?", my answer is:

http://www.iso9000.co.uk - written using Notepad (I write the raw code)

Creators Forum - I wrote that in PERL, which then writes the HTML code "on the fly", depening on which buttons you have clicked.

But ultimately, no matter how the HTML code is produced, it has to be sent to your browser as HTML, or else it can't understand it.
<html>
<head>
<title>Page title here</title> etc.....
Logged

JHB

  • Forum member
  • Posts: 1457
Re: HTML: Love it or Hate it?
« Reply #4 on: May 24, 2009, 12:12:33 »

But HTML is nothing without CSS http://en.wikipedia.org/wiki/Cascading_Style_Sheets (http://en.wikipedia.org/wiki/Cascading_Style_Sheets)

Then you may have a string like this one for DIV:

<div align="center" id="mycontent" class="mycontent"></div>

where it's using a CSS stylesheet class named "mycontent" and where this class may look like this:

@charset "utf-8";
#mycontent {
   background-color: #009900;
   font-family: Arial, Helvetica, sans-serif;
   margin-left: 5px;
   margin-top: 5px;
}



Logged
My music: www.jhbrende.com (http://www.jhbrende.com/)

firestar12

  • Guest
Re: HTML: Love it or Hate it?
« Reply #5 on: May 24, 2009, 14:31:35 »

All web pages have to be presented in HTML format.

If you mean "Do you write the plain HTML text, or do you use PHP, ASP, PERL etc to write the HTML code?", my answer is:

http://www.iso9000.co.uk - written using Notepad (I write the raw code)

Creators Forum - I wrote that in PERL, which then writes the HTML code "on the fly", depening on which buttons you have clicked.

But ultimately, no matter how the HTML code is produced, it has to be sent to your browser as HTML, or else it can't understand it.
<html>
<head>
<title>Page title here</title> etc.....
Wow Terry, you must be really good! I have a question though. You know on your http://www.iso9000.co.uk, where it says home, create your system, etc...you did that where it turns red using the hover code right?
Logged

TerryRussell

  • Guest
Re: HTML: Love it or Hate it?
« Reply #6 on: May 24, 2009, 17:36:28 »

Sort of.

I use cascading style sheets quite a lot, but with javascript for those people who have it switched on in their browser. That modifies the hover attribute.

It's a bit complex, but try doing "view source" from the web page. Not all of the code is shown, as there are a number of "link rel" attributes on the page. They suck in a lot of other code that isn't displayed.
Logged

RMS Canada

  • Forum member
  • Posts: 897
Re: HTML: Love it or Hate it?
« Reply #7 on: May 24, 2009, 18:14:02 »

HTML?
Logged
All ahead full!

TerryRussell

  • Guest
Re: HTML: Love it or Hate it?
« Reply #8 on: May 24, 2009, 18:25:12 »

Hyper Text Markup Language.

The format in which web pages are written, so that your browser can display them.

<p>This is a paragraph</p>

<table>
 <tr>
  <td>Cell 1 in the first row of the table</td>
  <td>Cell 2 in the first row of the table</td>
 </tr>
 <tr>
  <td>Cell 1 in the second row of the table</td>
  <td>Cell 2 in the second row of the table</td>
 </tr>
</table>

And so on...
Logged

firestar12

  • Guest
Re: HTML: Love it or Hate it?
« Reply #9 on: May 24, 2009, 22:43:00 »

Hyper Text Markup Language.

The format in which web pages are written, so that your browser can display them.

<p>This is a paragraph</p>

<table>
 <tr>
  <td>Cell 1 in the first row of the table</td>
  <td>Cell 2 in the first row of the table</td>
 </tr>
 <tr>
  <td>Cell 1 in the second row of the table</td>
  <td>Cell 2 in the second row of the table</td>
 </tr>
</table>

And so on...
Actually, I knew those codes!
Logged

TerryRussell

  • Guest
Re: HTML: Love it or Hate it?
« Reply #10 on: May 24, 2009, 23:03:45 »

YAY!

<style type="text/css">
body {
  margin-top: 1px;
  margin-right: 1px;
  margin-left: 2px;
  margin-bottom: 1px;
  paddding: 0px;
  font-family: 'Gill Sans', Verdana, 'Helvetica Narrow', sans-serif;
  font-size: 0.7em;
}

form {
 font-family:  'Gill Sans',  Verdana, Arial, sans-serif;
 color: black;
 font-size: 85%;
}
</style>
Logged

firestar12

  • Guest
Re: HTML: Love it or Hate it?
« Reply #11 on: May 24, 2009, 23:08:14 »

That one was a little more complex than what I am used to at this level. (I have only been using it for 2-3 days)
Logged

TerryRussell

  • Guest
Re: HTML: Love it or Hate it?
« Reply #12 on: May 24, 2009, 23:21:41 »

Just put that in the <head" section, before the </head> tag.

Then try changing the numerical values (0.7, 0, etc) and see what happen to your page.

The form section only affects form elements (input boxes used when submitting a query)

Put this dummy form into the <body> section of your page:

<form name="Firestar01">
<input type="text" value="" name="input01" size="50">
</form>

Then when you change the form section of the style sheet, you'll see the input box change.
Logged

firestar12

  • Guest
Re: HTML: Love it or Hate it?
« Reply #13 on: May 24, 2009, 23:42:51 »

So then
<form name="Firestar01">
<input type="text" value="" name="input01" size="50">
</form>
Would be kinda like a search engine?
Logged

TerryRussell

  • Guest
Re: HTML: Love it or Hate it?
« Reply #14 on: May 25, 2009, 01:52:20 »

You'd need to tell the form where to send the information and also you'd have to have some other set of programs at the server to read the information:

So if you typed "MAD_FRED" into that box and it was linked to a program on my server, I could catch the contents of that box using (in Perl):

$query=$FORM{'input01'};

so $query would hold the value "MAD_FRED". The rest of the program would have to know what to do:

print "<p><font color='red'>You said</font><font color='blue'> $query</font></p>";

which would say
You said MAD_FRED
on the web page.
« Last Edit: May 25, 2009, 01:54:11 by TerryRussell »
Logged

firestar12

  • Guest
Re: HTML: Love it or Hate it?
« Reply #15 on: May 25, 2009, 01:57:18 »

Ah yes, I had just learned about that earlier, right after you had said that. I was able to make a form with First and Last name, gender, and username! It was fun... :P Here it is if you want to see it. (Just open it up in your web browser, not really meant for Terry, I am sure he knows that, but meant for people who don't know about this stuff)
Logged

RMS Canada

  • Forum member
  • Posts: 897
Re: HTML: Love it or Hate it?
« Reply #16 on: May 25, 2009, 16:51:57 »

Hyper Text Markup Language.

The format in which web pages are written, so that your browser can display them.

<p>This is a paragraph</p>

<table>
 <tr>
  <td>Cell 1 in the first row of the table</td>
  <td>Cell 2 in the first row of the table</td>
 </tr>
 <tr>
  <td>Cell 1 in the second row of the table</td>
  <td>Cell 2 in the second row of the table</td>
 </tr>
</table>

And so on...

Ah, now I get it.  :)
Logged
All ahead full!
Pages: [1]   Go Up
 
 


SMF 2.0.14 | SMF © 2017, Simple Machines