
 p { border-style: solid; border-color: red; border-width: 3px; } p { border: solid red 3px; }
p { border-style: dotted dashed solid double; }p { border-left: 2px dashed red; }p { border: 2px solid red; border-radius: 5px; }저기요..
제가 보이세요...¿
<!DOCTYPE html>
<html>
<head>
  <style>
    #two {
      border: 3px dotted black;
      border-radius: 40px 20px;
      margin: 100px;
      padding: 20px 40px;
      width: 50%;
      background-color: silver;
      text-shadow: 2px 2px #ff0000;
      box-shadow: 0 0 50px #FF0000;
      font-size: 2em;
      opacity: 0.5;
    }
  </style>
</head>
<body>
	<p id="two">저기요..<br>제가 보이세요...¿</p>
</body>
 p { margin: top right bottom left } p { margin: 25px 50px 100px } p { margin: 50px 100px }margin: 10px, padding: 20px인 단락입니다.
<head>
  <style>
    p {
    	background: orange;
    	border: 2px dashed green;
    }
    p.target2 {
    	margin: 10px;
    	padding: 20px;
    }
  </style>
</head>
<body>
  <p class="target2">margin: 10px, padding: 20px인 단락입니다.</p>
</body>
background-image: url("desert.jpg");p { background: lightgray url("gradient_bg.png") no-repeat right top; } a:link { text-decoration: none; }<head>
  <style>
    a:link {
    	color: red;
    }
    
    #a1:hover {
    	border-top: 20px dotted;
    	font-size: 2em;
    	color: violet;
    }
    
    #a2:hover {
    	border-bottom: 5px dashed;
    	background: orange;
    	color: white;
    }
  </style>
</head>
<body>
  <p><a href="https://www.google.com/">빨간 링크</a></p>
  <p><a id="a1" href="https://www.google.com/">커서 놓으면 폰트 크기 바뀌는 링크</p>
  <p><a id="a2" href="https://www.google.com/">커서 놓으면 배경색 바뀌는 링크</a></p>
</body>
| 1분단 | 2분단 | 3분단 | 4분단 | 
|---|---|---|---|
| 알라딘 | 임꺽정 | 개나리 | 홍길동 | 
| 일지매 | 성춘향 | 이몽룡 | 김삿갓 | 
| 운듀듀 | 현디디 | 근듀듀 | 김티티 | 
| 디듀듀 | 영듀듀 | 대초리 | 문동이 | 
<html>
<head>
  <style>
    table {
    	box-shadow: 5px 10px 8px 10px #888888;
    }
    
    table, th, tr, td {
    	border: 1px solid black;
    	border-collapse: collapse;
    	width: 300px;
    	text-align:center;
    }
    
    th {
    	background-color: purple;
    	color: white;
    	font-size: 1.5em;
    }
    
    td:nth-child(odd) {
    	background-color: lightpink;
    }
    
    td:nth-child(even) {
    	background-color: lightgray;
    }
  </style>
</head>
  
<body>
  <table>
    <tr>
      <th>1분단</th>
      <th>2분단</th>
      <th>3분단</th>
      <th>4분단</th>
    </tr>
    <tr>
      <td>알라딘</td>
      <td>임꺽정</td>
      <td>개나리</td>
      <td>홍길동</td>
    </tr>
    <tr>
      <td>일지매</td>
      <td>성춘향</td>
      <td>이몽룡</td>
      <td>김삿갓</td>
    </tr>
    <tr>
      <td>운듀듀</td>
      <td>현디디</td>
      <td>근듀듀</td>
      <td>김티티</td>
    </tr>
    <tr>
      <td>디듀듀</td>
      <td>영듀듀</td>
      <td>대초리</td>
      <td>문동이</td>
    </tr>
  </table>
</body>