Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Saturday, June 28, 2008

How To Adjust YouTube Video Size

Original Size:


The Above Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/fK6ZJsUZylI&hl=en"></param><embed src="http://www.youtube.com/v/fK6ZJsUZylI&hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object>



After Adjustment:


The Above Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/fK6ZJsUZylI&amp;hl=en"><embed src="http://www.youtube.com/v/fK6ZJsUZylI&amp;hl=en" type="application/x-shockwave-flash" width="250" height="250"></embed></object>


How To Adjust YouTube Video Size?
Just simply change the figures. For example, width="250" height="250".
The adjustment of video size is to fit neatly into your page.


Tips-Do not always copy and paste everything.










Sunday, June 8, 2008

How To Remove ImageShack Rubbish Code

From this:
Image Hosted by ImageShack.us


Code:

<a href="http://imageshack.us/"><img src="http://img149.imageshack.us/img149/5065/sakuraei6wf1.png" alt="Image Hosted by ImageShack.us" border="0"></a>
<a href="http://g.imageshack.us/g.php?h=149&amp;i=sakuraei6wf1.png"><
img src="http://img149.imageshack.us/img149/5065/sakuraei6wf1.faf3f1fee1
.jpg" border="0"></a>


To this:


Code:
<img src="http://img149.imageshack.us/img149/5065/sakuraei6wf1.png">


What are the changes?
-Removed "Free Image Hosting http://www.imageshack.us" link.
-Left click disabled.

Why removing the code?
-Surely the picture will look neater.

Tip-Always observe the codes.







Sunday, June 1, 2008

Spoiler Tag

Explanation
Enable reader to have liberty to choose whether they want to see the contain hidden in the spoiler tag. By adding a spoiler tag, it also help load the page faster when the picture is hidden in the spoiler tag.

Example of Spoiler Tag

Spoiler:


Spoiler Tag Codes


Change the "Your Text Here". You also can change the "Spoiler" title.


Example of without "Spoiler" Title

Your Text Here


Without "Spoiler" Codes
Just delete the "Spoiler" from the codes above.





Sunday, May 25, 2008

How To Create Table By Using HTML

Introduction
Tables add a different dimension to displaying your contents and whether you have a football match fixture, menu, and song, price or grocery lists, putting them in a table format is certainly neater.
For more table examples: Naruto|Naruto Shippuuden|Naruto and Naruto Shippuuden Movies|Bleach|Bleach movies

How To Create?

No.ElementNew Element
01.Doton (Earth element)
02.Suiton (Water element)
03.Katon (Fire element)
04.Futon (Wind element)
05.Raiton (Lightning element)
06.Suiton+FutonHyoton (Ice element)
07.Doton+SuitonMokuton (Wood element)


The code for the above table is this:

<table border="1" cellpadding="1" cellspacing="0" width="450"><tbody>
<tr>
<th>No.</th>
<th>Element</th>
<th>New Element</th>
</tr>
<tr>
<td>01.</td>
<td>Doton undefinedEarth element)</td>
<td></td>
</tr>
<tr>
<td>02.</td>
<td>Suiton undefinedWater element)</td>
<td></td>
</tr>
<tr>
<td>03.</td>
<td>Katon undefinedFire element)</td>
<td></td>
</tr>
<tr>
<td>04.</td>
<td>Futon undefinedWind element)</td>
<td></td>
</tr>
<tr>
<td>05.</td>
<td>Raiton undefinedLightning element)</td>
<td></td>
</tr>
<tr>
<td>06.</td>
<td>Suiton+Futon</td>
<td>Hyoton undefinedIce element)</td>
</tr>
<tr>
<td>07.</td>
<td>Doton+Suiton</td>
<td>Mokuton undefinedWood element)</td>
</tr>
</tbody>
</table>


Note:
01. Every row starts with a <tr> tag and ends with a </tr> tag. In this example, we have 7 rows.
02. The <th> tags are used to mark the content as headers and such text will be bold by default to distinguish them from the other contents.
03. Within every row, we have the contents governed by the <td> undefinedtable data) tags. You would notice that in the first row, the first data cell “01.” begins with <td> and ends with </td>. Every data cell will have to be enclosed within such tags.

Tips
Insert all the code in "Edit Html". You can insert link or text formatting in "Compose"

Remove white space
You may see a lot of white space or gap at the top of the table. To remove this unnecessary space, you would need to compact the code and remove the line breaks. I have used a lot of line breaks in the above code so that you can better understand how the code works. Take the example of the above table code and compare with the code below:

<table border="1" cellpadding="1" cellspacing="0" width="450"><tbody>
<tr><th>No.</th><th>Element</th><th>New Element</th></tr><tr><td>01.</td><td>Doton undefinedEarth element</td><td></td></tr><tr><td>02.</td><td>Suiton undefinedWater element</td><td></td></tr><tr><td>03.</td><td>Katon undefinedFire element</td><td></td></tr><tr><td>04.</td><td>Futon undefinedWind element</td><td></td></tr><tr><td>05.</td><td>Raiton undefinedLightning element</td><td></td></tr><tr><td>06.</td><td>
Suiton+Futon</td><td>
Hyoton undefinedIce element</td></tr><tr><td>07.</td><td>Doton+Suiton</td><td>
Mokuton undefinedWood element)</td></tr></tbody></table>








Friday, January 4, 2008

HTML Tutorial

HTML (Hyper Text Mark-up Language) , so easy it's childs play.

And is one of the most commonly used Programming Languages to code websites with. Though it is not the best.
One good point is that is pretty easy to learn, and is rather simple to learn.

If you want to master HTML..don't copy and paste the code..try to type it out by yourself.
As a HTML user always use a notepad to type HTML. Trust me..you can do it.
Notepad is a superb tool..only noob will say it is useless. (Quote from lan) He even use notepad to replace ms.excel.
So first thing y'all gotta do is open up Notepad or the HTML editor you are using.
For those nerdy...don't what the hell is HTML....Here

Basic HTML



<b>****</b>
Bold text





<i>****</i>
Italic text





<u>****</u>
Underlining text





<S>****</S>
Line-through





<big>****</big>
Increase your text by one size above default





<small>****</small>
Decrease your text by one size below default





<center>****</center>
Centred text





<left>****</left>
Aligned left





<right>****</right>
Aligned right





<font size="2">****</font>
Font Size
(The default size is 3, it ranges from 1-7)





<marquee>This is a marquee!</marquee>
Basic marquee tag






<marquee direction="up, down, right, or left">This is a direction Marquee!</marquee>
Direction


<marquee scrollamount="any number you want">Speed Marquee</marquee>
Speed





<marquee behaviour="alternate, slide, or scroll">Behaviour Marquee!</marquee>
Behaviour