Recent Posts

Pages: 1 ... 3 4 [5]
41
HTML (normal) / Re: Adding Images
« Last post by Connor on March 31, 2011, 03:47:29 pm »
cheers
42
HTML (normal) / Re: Links
« Last post by CodeDaddy on March 31, 2011, 02:10:58 pm »
some easy **** =]
43
HTML (normal) / Re: Adding JavaScript Alerts to Buttons
« Last post by CodeDaddy on March 31, 2011, 02:10:33 pm »
nice guide, helps alot of starters
44
HTML (normal) / Re: Adding JavaScript Alerts to Buttons
« Last post by Nub on March 31, 2011, 02:09:31 pm »
handy guide m8
45
HTML (normal) / Re: Adding Images
« Last post by Nub on March 31, 2011, 02:09:13 pm »
Cool guide
46
HTML (normal) / Adding Images
« Last post by Connor on March 31, 2011, 12:32:30 pm »
Code: [Select]
<img src="HERE">
Where the 'HERE' is put the images location. Example: mypic/lol.jpg, make sure the file extension is there. like jpg, png etc.
47
HTML (normal) / Links
« Last post by Connor on March 31, 2011, 10:02:49 am »
Code: [Select]
<p>Click <a href="http://www.google.co.uk">Here</a> to go to Google</p>
Add that, change the
Code: [Select]
href="http://www.google.co.uk"> to go another site.
48
HTML (normal) / Adding JavaScript Alerts to Buttons
« Last post by Connor on March 31, 2011, 10:00:38 am »
Code: [Select]

<html>
<head>
<title>Alert by Connor</title>
<br>
</head>
<center>

<body>
<h1>Linking JavaScript Alerts to Buttons by Connor</h1>

</br>
</br>
</br>

<input type="button" value="CLICK HERE" onClick="doRedirect()">


<script type="text/javascript">

function doRedirect() {

alert("This is an alert");

}

</script>


That is the code for the HTML document, wack up a notepad and add it, and save as a .html file.


To change the alert's text, change the
Code: [Select]
alert("This is an alert");To change the button text, change the
Code: [Select]
value="CLICK HERE"
49
HTML / About HTML
« Last post by Connor on March 30, 2011, 10:29:17 pm »
HTML is a coding language used for web design.
HTML has many modern forms such as XHTML and HTML5.

Please follow the rules in this section.

NO malicious code sharing or corrupt content.
Pages: 1 ... 3 4 [5]