jQuery | javascript | CSS
03.CSS - 태그에 직접 적용
Godffs
2009. 7. 27. 16:06
반응형
<HTML> 태그에 직접 스타일시트를 적용시키는 3번째 방법입니다.
<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>
택스트 박스 생성. 다음 택스트의 색상과 택스트 박스의 배경색을스타일시트를 사용하여 적용.
버튼 테두리에 스타일시트적용( solid-실선, dotted-점선)
반응형