Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Untitled Document</title>
<body>
<form method="post" action="">
<input type="text" name="search" id="text" value="Напиши нещо" onfocus="this.value=''" onblur="this.value='Напиши нещо'"/>
</form>
</body>
</html>
<form method="POST" action="postd.php">
<div id="search"><input type="Име" name="search" style="color: white"; id="text" value="Име" onclick="this.value=''" onblur="this.value='Име'"/> <br/></div>
<div id="search"><input type="Съобщение" name="search" style="color: white"; id="text" value="Съобщение" onclick="this.value=''" onblur="this.value='Съобщение'"/> <br/></div>
<input type="submit" value="Изпрати" name="send" >
</form>
Съобщения:<br/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Untitled Document</title>
<script type="text/javascript">
function checkValue(num){
if(document.getElementById(num).value==""){
document.getElementById(num).value="Напиши нещо";
}
}
</script>
<body>
<form method="post" action="">
<input type="text" name="search" id="text" value="Напиши нещо" onfocus="this.value=''" onblur="checkValue(this.id);">
</form>
</body>
</html>
<input type="submit" value="Изпрати" class="submit" name="send" >
input.submit {
border : 0;
width : ширина;
height : височина;
background : url("картинка");
color : цвят;
}
<input type="image" src="картинка" value="Изпрати" name="send" >