JavaScript
- 4 ответа
- 0 вопросов
6
Вклад в тег
<!doctype html>
<html lang="en">
<body>
<button id="search">Search with Google</button>
</body>
<script>
document.getElementById("search").onclick = function() {
var window = window.open("https://www.google.com", "_blank", "toolbar = yes, top = 500, left = 500,
width = 400, height = 400");
window.focus();
};
</script>
</html>
<ul>
<div id="foo">
<li>You have cat to be kitten me right meow</li>
<li>Eat plants, meow, and throw up</li>
<li>my owner today cough furball into food bowl</li>
<li>I shredded your linens for you</li>
</div>
<li>Play time carefully drink from water glass</li>
<li>jump on human and sleep on her all night long</li>
<li>purr in the morning and then give a bite to every human around</li>
<li>waking up request food, purr loud scratch the walls</li>
</ul>