programko/layout.html

92 lines
2.9 KiB
HTML
Raw Normal View History

2024-03-21 10:25:45 +01:00
<!DOCTYPE html>
<html lang="sk"><head>
<meta charset="UTF-8">
<title>Struktura stranky</title>
<meta name="description" content="Kratky popis nasej stranky.">
<meta name="keywords" content="sablona, html, cize klucove slova nasej stranky">
<!-- Mobile viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link rel="icon" href="asdd.png" type="image/png">
<!-- namapovanie css -->
<link rel="stylesheet" href="layout.css">
<!-- script na zobrzenie menu css -->
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav container_menu") {
x.className += " responsive";
} else {
x.className = "topnav container_menu";
}
}
</script>
</head>
<body>
<div class="wrapper">
<header>
<div id="header" class="container">
<div id="header_logo" class="flex-item">
<img width="75px" src="http://localhost/adlerka/image/basic-logo.png">
</div>
<div id="header_nazov" class="flex-item">
<p>Vymyslena spolocnost a.s.</p>
</div>
<div id="header_text" class="flex-item" style="margin-left: auto">
<p>Poradime Vam zavolajte na +421 98989 8987 877.</p>
</div>
</div>
</header>
<nav>
<div class="topnav container_menu" id="myTopnav">
<a href="#home" class="active">Home</a>
<a href="#news">News</a>
<a href="#contact">Contact</a>
<div class="dropdown">
<button class="dropbtn">Dropdown
</button>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</div>
<a href="#about">About</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()"></a>
</div>
</nav>
<main>
<h1>Apples</h1>
<p>The apple is the pomaceous fruit of the apple tree.</p>
<article>
<h2>Red Delicious</h2>
<p>These bright red apples are the most common found in many
supermarkets.</p>
<p>... </p>
<p>... </p>
</article>
<article>
<h2>Granny Smith</h2>
<p>These juicy, green apples make a great filling for
apple pies.</p>
<p>... </p>
<p>... </p>
</article>
</main>
<footer>
<p>pata</p>
</footer>
</div>
</body></html>