💼 정보 ver1.0

input attribute

James Wetzel 2012. 12. 12. 11:27
728x90
반응형

<!DOCTYPE html>

<html>

<head>

<title>input attribute is placeholder</title>

<meta charset="utf-8" />

</head>

<body>

<h1>placeholder</h1>

input attribute(placeholder) <input type="text" placeholder="아이디를 입력하세요.(Email)" />

</body>

</html>



<!DOCTYPE html>

<html>

<head>

<title>input attribute is autofocus</title>

<meta charset="utf-8" />

</head>

<body>

<h1>autofocus</h1>

input attribute(autofocus) <input type="text" autofocus />

</body>

</html>



<!DOCTYPE html>

<html>

<head>

<title>input attribute is formaction</title>

<meta charset="utf-8" />

</head>

<body>

<h1>formaction</h1>

<form action="a.aspx" method="post">

<input type="submit" formaction="b.aspx" value="Submit" />

</form>

</body>

</html>

*form action의 a.aspx로 이동하는것이 아니라 formaction=b.aspx로 이동한다.


draggable


728x90
반응형