How To Develop Your Very Own PHP Game
Tutorial on making a PHP game, from scratch :)

Step 2: Understanding HTML

By justImagine
HTML is the very basic of web programming. Try not to use Dreamweaver, because it'll make you less creative. Try Notepad or the web host's file editor instead.
Here is the list of some tags you'll need to understand:
























Tag

Result

<b>Text</b>

Text

<i>Text</i>

Text

<a href="http://archaeozoic-area.6te.net/">Link Text</a>

Link Text

<font size="3" color="#ff0000">Big Red Text</font>

Big Red Text

<img src="http://archaeozoic-area.6te.net/php_icon.gif" />




Tips:
  • On the link codes, you can add target="_blank" after the href="http://web_address" to make the link opens in new tab or window when clicked. And, in this game tutorial, instead of href="http://complete_web_address" we'll use href="filename_in_the_same_root_folder_(same_site)". It'll make the link shorter, but as functional as it is supposed to be.
  • On the font settings, you can change the size as you wish. You could also set it through the CSS, so you don't have to add <font> tags each time you type some text on the game-making progress. Then, the color can use hexa-based color chart like in the example (#RRBBGG), or it can use texts like color="red". *R: red, B: blue, G: green. Here's the chart: http://www.web-source.net/216_color_chart.htm
 

0 comments so far.

Something to say?