Tuesday, January 12, 2010

01a

Image Hosting by PictureTrail.com







1. BENTUK TEKS


1.1. Teks saja (tanpa kotak)

1.2. Teks dalam kotak


Teks dalam kotak sudut tumpul







2. TYPE OF TEXT


Mas Anang Andaka "pakai bold"

Mas Anang Andaka "pakai italic

Mas Anang Andaka "pakai bold italic"

Mas Anang Andaka pakai "teletype text"

Mas Anang Andaka pakai "big" teks

Mas Anang Andaka pakai "small" teks







3. HEADING ELEMENTS

Largest Heading



. . .



. . .



. . .



. . .


Smallest Heading







4. WARNA




4. WARNA DAN POSISI HEADER


Posisi kiri

Posisi Tengah


Posisi kanan TIDAK BISA






5. F O N T S

Mas Anang Andaka size=1

Mas Anang Andaka size=2

Mas Anang Andaka size=3

Mas Anang Andaka size=4

Mas Anang Andaka size=5

Mas Anang Andaka size=6

Mas Anang Andaka size=7







6. STYLES


Look! Styles and colors




This text is in Verdana and red




This text is in Times and green



This text is 30 pixels high









7. TEXT ELEMENT

This is a paragraph




(line break)


(horizontal rule)










This text is preformatted








8. LOGICAL STYLES

This text is emphasized

This text is strong

This is some computer code







9. Links, Anchors, and Image Elements

This is a Link

Alternate Text

Send e-mail


A named anchor:

Useful Tips Section

Jump to the Useful Tips Section


Unordered list


  • First item

  • Next item




Ordered list



  1. First item


  2. Next item









10. DEFINITION LIST



First term


Definition


Next term


Definition







..............................


11. J U D U L N Y A

ISI-01

ISI-02

ISI-03

ISI-04

ISI-05

02a




13. TEXT AREA


13.1> Tanpa Highlight




13.2> Memakai Highlight




RUMUS TEKS AREA



Ubah margin: 20px 10px



Ubah width: 250px



Ubah paddingnya :20px




Warnai area teks-nya : RGB(255,204,255)

Color RGB, Picker, Mixer, Name



Warnai teks-nya



Warnai bordernya : #FFFF00



Pertebal bordernya : 3



Bentuk border "solid"



Bentuk border "dotted"



Bentuk border "dashed"



Bentuk border "ridge"




Warnai area teks-nya : transparance



Ubah margin: 10px 10px;





Background-color:gold



Warnai semuanya : border RGB(255,255,0), background-color RGB(102,255,51), font red









13.3> Kotak Scroolbar

Rumusnya :






Hasilnya :

Kotak scrollbar adalah sebuah kotak yang bisa digulung kekanan atau kebawah sehingga bisa menghemat ruangan pada blog



Bentuk dan cara lain




Tentang Overflow "auto" yang diisi dengan sedikit tulisan




Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan.Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan. Overflow "auto" yang diisi dengan banyak tulisan.



Overflow "scroll)" diisi sedikit tulisan



Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan.
Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan. Overflow "scroll" diisi banyak tulisan.



Overflow "hide" diisi sedikit tulisan




Overflow "hide" diisi banyak tulisan. Overflow "hide" diisi banyak tulisan.
Overflow "hide" diisi banyak tulisan. Overflow "hide" diisi banyak tulisan.
Overflow "hide" diisi banyak tulisan. Overflow "hide" diisi banyak tulisan.








14. T A B E L

14.1> MembuatMacam-macamTabel

CARI DI POIN 11 Sekolah HTML










Tableheader Tableheader
sometext sometext



14.2. Tabel Warna


Color RGB

Color Picker

Color mixer

Color name


Color set by using hex value:#FFFF00




Color set by using rgb value:rgb(255,255,0)




Color set by using color name:yellow




15. F R A M E S



15.1>Kotak Rumus
+ Karakter Khusus


16. Forms














03a




17. Menggerakkantulisan


5.1> Menggerakkan teks "tanpa background"

Berjalan ke kanan kontinyu



Berjalan ke kanan 3 kali



Berjalan ke kiri sekali saja



Berjalan mondar-mandir


Bergerak ke atas

Bergerak ke bawah

Bergerak efek bounce



Vertikal atas bawah




5.2> Menggerakkan teks "dengan background"

Berjalan ke kanan kontinyu



Berjalan ke kanan 3 kali



Berjalan ke kiri sekali saja



Berjalan mondar-mandir


Bergerak ke atas

Bergerak ke bawah

Bergerak efek bounce



Vertikal atas bawah



Untuk membuat teks berhenti jika mouse menyentuh area marquee dan berjalan kembali jika mouse meninggalkan area marquee. Tambahkan kode onmouseover="this.stop()" dan onmouseout="this.start()"

Sebagai contoh saya memasukkan kode ini:

Sentuhlah daku, daku akan diam



Memasukkan 2 bh banner dalam kotak scroll :




Tulisan scroll ke atas, tunjuk diam???

My Link



1. Rumus Mas Anang


2. Rumus-01


3. Rumus-02


4. Rumus-03


5. Rumus-04


6. Rumus-05


7. Rumus-06


8. BPPKT


9. Techno"s Gallery






Contoh lain :

Rumus-01 : Masalah "link"


Rumus-02: Masalah "teks dan variasinya"


Rumus-03 : Masalah "gado-gado"


Rumus-04 : Masalah"picture"


Rumus-05 : Masalah "Ad to Gadget"


Rumus-06 : Masalah "Teks dan Sroll"



5.3> Menggerakkan Image


Free Image Hosting at www.picturetrail.com



04a

HTML TABLE BASIC




Rumus Utama Tabel :

<table>......isi dari tabel.......<table>



Untuk mulai bikin tabel, anda harus menempatkan <tr>(table row) dan <td>(table data) diantara kode <table> dan kode </table> berikut.



Dan hasilnya, tabel akan menjadi seperti ini:

Inilah tabel saya!


Kok cuma gitu? Mana border/bingkainya? Don't worry be happy (kayak judul lagu saja). Tambahkan saja <table> tag, seperti ini:




Dan sekarang tabel akan punya border seperti ini :

Ini baru benar-benar tabel!


Anda dapat mempertebal border dengan merubah <table border="2">menjadi lebih besar. Jika anda mengeset border="0", you will have a table with no border around it.

Of course, you probably want the table to have more than one cell in it. To add another cell on the same line, just use the <td> tags again, like this:




Dan hasilnya seperti ini :

Ini sebuah cellIni juga sebuah cell


Well, what if you want to go to the next line, or in table terms, the next row? To do this, you use a new set of table row tags, <tr> and </tr>:




Now there are two rows, each with two cells:

This is a cellThis is a cell
This is the new
row
I'm on the new row, too!



There are a couple of commands you can add to the <table> tag to get more spacing between cells. Here they are:

1. cellspacing=" "
Use this command to add more space around each cell. Place a number inside the quote marks.
2. cellpadding=" "
Use this command to add more space inside each cell. Place a number inside the quote marks.

I'll show you an example of both of these now. Let's say we added the cellspacing command to our last table, and set it to equal 12, like this:

<table border="2" cellspacing="12">




Now the table would look like this:

This is a cellThis is a cell
This is the new rowI'm on the new row, too!



Now, suppose we used the cellpadding command, and set it to 12, like this:

<table border="2" cellpadding="12">




Now the table looks like this:

This is a cellThis is a cell
This is the new rowI'm on the new row, too!



And of course, you can use both at once:

<table border="2" cellspacing="15" cellpadding="15">



And the result is :

This is a cellThis is a cell
This is the new rowI'm on the new row, too!


You can add just about anything you would like inside the cells. You can add links, images, headings, paragraphs and more.

To use a link inside a cell, just place the link tag inside your <td> tags, like this:

<td><a href="http://www.pageresource.com">My Favorite WebSite!</a></td>






Now you will have a link inside your cell:

This is a cellMy Favorite WebSite!
This is the new rowI'm on the new row, too!



To place an image inside a cell, you do the same thing with the image tag:

<td><img src="scare.jpg"/></td>





Sample image inside a table cell

;
This is a cell
This is the new rowI'm on the new row, too!



If you want table headings for listing data, you could use the <th></th> tags on the first row of the table rather than <td></td> tags:





Hasilnya seperti ini :

NameFavorite Color
JohnBlue
JamesGreen



You may have noticed that most everything is aligned to the left side of each cell. This is the default setting. In the next section we will cover how to change the alignment of your cell contents, make cells stretch across more than one column or row, define a table width, and change cell background colors.

So, let's move on to Tables 2: Alignment, Color, and More.

05a

HTML ADVANCE


Tables 2: Alignment, Color, and More
How to do more with tables
Note: Many of these effects can now be achieved using Cascading Style Sheets.

Before we get to the other stuff, let's take a look at how to define the width of your table to help you get the table the size you would like it to be. To do this, add the width=" " command to your <table> tag. Place the number of pixels wide you would like the table to be or the percentage of the horizontal width you'd like the table to be between the quote marks (i.e. type 600 for 600 pixels and 60% for 60 percent). So, if you wanted a table 600 pixels long, you would do this:




This table has just a little text, but stretches all the way to 600 pixels, because we told it to!

This table really long!



In the last section we left off wondering how to align the contents of your table cells. What if you wanted your contents to be aligned to the center or to the right? To do this, you add the align=" " command to your <td> tag. You can use the command three ways:

1. align="left"
Aligns your cell contents to the left.
2. align="center"
Aligns your contents to the center.
3. align="right"
Aligns your cell contents to the right.

Let's take a look at a table using these commands:




The first cell will have the text in the center, while the second cell has text aligned to the right.

I'm in the center!I'm aligned to the right!


You can also use another alignment command for your cells, the vertical alignment command. It looks like this: valign=" ". Here's what it can do:

1. valign="top"
Aligns contents to the top of the cell.
2. valign="middle"
Aligns contents halfway between the top and bottom of the cell.
3. valign="bottom"
Aligns contents to the bottom of the cell.

Here is a sample table using the vertical alignment commands:




The table looks like this:

I'm on top!So I start on top!I'm in the middleI start at the bottom.



The vertical alignment commands come in useful if your table cells don't have the same number of lines inside each cell. Since I had 2 lines of text in the first cell while the others had one line, the vertical alignment made a difference in how the table looked.

So, how about stretching out the rows and columns? Well, now you get two more commands for the tag, rowspan and colspan.

1. rowspan=" "
Defines the number of vertical table rows the cell should take up. Place your number inside the quote marks.
2. colspan=" "
Defines the number of horizontal columns the cell should take up.

Suppose you wanted your table to do this:
Nice guy, isn't he? sample image
Met him at the store.

To make it happen, you use the rowspan command in your table cell containing the image. You set rowpan="2" and the cell with the picture takes up 2 table rows. Here is the code:



Dan hasilnya :

Nice guy, isn't he?
Met him at the store.



Now, suppose you want a table like this:

Star Wars Folks
Luke Skywalker Princess Leia Han Solo

This time you use the colspan command and set colspan="3". You get the first cell to stretch across the other three on the second row below it. Here is the table code for this:



Dan hasilnya :

Star Wars Folks
Luke SkywalkerPrincess LeiaHan Solo



Well, now here's the part everyone has been waiting for... changing the background color of a table cell! You can change the background color of the entire table, each row, or each cell. To change the background color of the table, add the bgcolor=" " command, just like in the body tag:




Now the whole table has a yellow background:

Yellow Rules!



To change the color of each cell, add the bgcolor command to each <td> tag you want to change:




Now we have two different colored cells:

redblue



And finally, to change the color of a table row, add the bgcolor command to the <tr> tag:



And now the rows are different colors:

red red again..
blue blue again!


BONUS TABEL CANTIK :

SYMBOLENTITYEXAMPLE
Less than
01100
Greater than
02200
Ampersand
03300
quotation mark
04400
em dash
05
500




Pretty neat stuff, isn't it? You can design calendars, price lists, or whatever comes to mind using tables.

So, let's move on to the next section, Tables Within a Table.

06a

TABLE WITHIN TABLES



Placing tables inside a larger table
Note: Many of these effects can now be achieved using Cascading Style Sheets.

Well, suppose you had this problem: You need to put two tables on the same line on your page. Oh no, the table tag automatically sends you to the next line! Well, you can get around this by placing your two tables inside one large table, thus keeping them on the same line.

Let's start out by just placing one table inside another. Here is the code:

<table width="75%" border="6"> <!-- starts the big table -->
<td align="center"> <!-- starts the first cell of the big table -->
<table width="75%" border="2"> <!-- we use another table as the cell data for the big table -->
<td align="center"> <!-- starts the small table inside -->
I'm inside the small table! <!-- the contents of the first cell of the small inside table -->
</td> <!-- ends the table cell of the small inside table -->
</table> <!-- ends the small inside table -->
</td> <!-- ends the cell of the big table which contained the small table -->
</table> <!-- ends the big table -->


Here is what you get from the code above:







I'm inside the small table!



This can get a bit confusing at times. Just remember to keep track of which table you are in while you are writing the code.

As for the problem at the beginning of the section, all we have to do is add another table cell to the big table, and then use a second smaller table inside that cell. To hide the appearance of the big table, we set the border on the big table to zero. Here is the example:

<table width="75%" border="0">
<td align="center">
<table width="99%" border="4">
<td align="center">
I'm in the first small table! ha!
</td>
</table>
</td>
<td align="center">
<table width="99%" border="4">
<td align="center">
I'm in the second small table! ha, ha!
</td>
</table>
</td>
</table>

And now we see the two inside tables on the page side by side:

I'm in the first small table!
I'm in the second small table


Of course, you can make the inside tables or the outside tables as complicated as you want. Add all the cells and rows you can handle... you can go table crazy if you want to.

Well, that does it for this section, let's go on to the next section where you will learn the technique of Using Frames.

===================================================================================

Please enter your username and password to enter your Blogger Dasboard page!


Widget edited by Mas Anang