Ship Simulator
English forum => Small talk => Topic started by: firestar12 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.
-
Yes, I wonder if forums support html or just use bbc. Do you have any tips that might be of use to me?
-
http://www.oreillynet.com/pub/a/php/2001/05/03/php_foundations.html
http://php.about.com/od/learnphp/qt/php_with_html.htm
-
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.....
-
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;
}
-
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?
-
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.
-
HTML?
-
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...
-
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!
-
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>
-
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)
-
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.
-
So then
<form name="Firestar01">
<input type="text" value="" name="input01" size="50">
</form>
Would be kinda like a search engine?
-
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.
-
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)
-
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. :)