Tag ÀÍÈ÷±â(3)

HTML ±âº» Tag ÀÍÈ÷±â(1) Tag ÀÍÈ÷±â(2) Tag ÀÍÈ÷±â(3) HTML È°¿ë

Up
table Â¥±â
frame ÆäÀÌÁö
½Ç½À¿¹Á¦

Table Â¥±â

Å×À̺íÀÇ ±âº»±¸Á¶

tablest.gif (41571 bytes)

±âº» Å×À̺í

<table>
    <tr>
        <td>1</td>
        <td>2</td>
        <td>3</td>
    </tr>
    <tr>
        <td>4</td>
        <td>5</td>
        <td>6</td>
    </tr>
    <tr>
        <td>7</td>
        <td>8</td>
        <td>9</td>
    </tr>
</table>

Align °ú  valign

<table width=200 height=100 border=2>
    <tr>
        <td align=left>1</td>
        <td align=center>2</td>
        <td align=right>3</td>
    </tr>
    <tr>
        <td valign=top>4</td>
        <td valign=middle>5</td>
        <td valign=bottom>6</td>
    </tr>
</table>

cellpadding

<table cellpadding=10 cellspacing=0 border=2>
    <tr>
        <td>1</td>
        <td>2</td>
        <td>3</td>
    </tr>
    <tr>
        <td>4</td>
        <td>5</td>
        <td>6</td>
    </tr>
</table>

cellspacing

<table cellpadding=0 cellspacing=15 border=2>
    <tr>
        <td>1</td>
        <td>2</td>
        <td>3</td>
    </tr>
    <tr>
        <td>4</td>
        <td>5</td>
        <td>6</td>
    </tr>
</table>

border

<table cellpadding=0 cellspacing=0 border=5>
    <tr>
        <td width=30%>1</td>
        <td width=30%>2</td>
        <td width=30%>3</td>
    </tr>
    <tr>
        <td width=30%>4</td>
        <td width=30%>5</td>
        <td width=30%>6</td>
    </tr>
</table>

¼¿ ÇÕÄ¡±â

<table border=1 width=50%>
    <tr>
        <td colspan=2>1</td>
        <td>3</td>
    </tr>
    <tr>
        <td>4</td>
        <td>5</td>
        <td rowspan=2>6</td>
    </tr>
    <tr>
        <td>7</td>
        <td>8</td>
    </tr>
</table>

cell ¸¶´Ù bgcolor¸¦ ÁÙ ¼ö ÀÖ½À´Ï´Ù.

border=0À¸·Î Çϸé Å×ÀÌºí ¸ð¾çÀÌ º¸ÀÌÁö ¾Ê°í ³»¿ë¸¸ º¸ÀÔ´Ï´Ù.

Frame ÆäÀÌÁö

¾Æ·¡À§·Î ³ª´µ´Â ÇÁ·¹ÀÓ

<frameset rows="50%,50%">
    <frame src=top.htm>
    <frame src=bottom.htm>
</frameset>

¿·À¸·Î ³ª´©°í ´Ù½Ã ¾Æ·¡À§·Î ³ª´¶ ÇÁ·¹ÀÓ

<frameset cols="30%,*" frameborder=no border=0>
    <frame src=left.htm name=left scrolling=yes>
    <frameset rows="20%,*">
<frame src=top.htm name=top>
        <frame src=bottom.htm name=bottom scrolling=auto>
    </frameset>
</frameset>

TargetÀ» ÁöÁ¤ÇÏ¿© ¸µÅ©½ÃÅ°±â

<a href=newpage.htm target=bottom>¿©±â¸¦ ´­·¯ÁÖ¼¼¿ä</a>


½Ç½À¿¹Á¦ : Text Sample / Image Sample - À̹ÌÁö 1, À̹ÌÁö 2