.NET프로그래밍/CSS 2.0
3. 태그에 직접 적용
holland14
2009. 7. 27. 19:46
<html>
<head>
<title>세번째 방법 - 태그에 직접 적용</title>
<style type="text/css">
</style>
<link rel="stylesheet"
type="text/css"
href="" />
</head>
<body>
<input type="text" style="color:blue;background-color:yellow;" />
<input type="button" value="클릭" style="border:1px dotted red;" />
</body>
</html>
<!--
- 형식 : <태그명 style="~CSS코드~"> ~ </태그명> : 태그에 직접 삽입
- border : 테두리
- solid : 실선 / dotted : 점선
-->
< 실행결과 >