-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (104 loc) · 8.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Company name is your complete webdesign studio for branding, design and development. Contact us today to get your ideas to life and start ranking high in Google">
<script src="https://kit.fontawesome.com/8aebfcef07.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="css/styles.css" type="text/css">
<!-- Opengraph metadata -->
<meta property="og:url" content="https://itstud.hiof.no/~kjellmal/webutvikling/webeksamen/">
<meta property="og:type" content="website">
<meta property="og:title" content="Websites that rank high in search engines - Company name">
<meta property="og:description" content="Company name is your complete webdesign studio for branding, design and development. Contact us today to get your ideas to life and start ranking high in Google">
<meta property="og:image" content="https://itstud.hiof.no/~kjellmal/webutvikling/webeksamen/img/x1280/pexels-negative-space-1280.jpg">
<title>Websites that rank high in search engines - Company name</title>
<link rel="icon" type="image/x-icon" href="img/favicon.ico"> <!-- Kode for å legge til favicon er hentet fra W3schools: https://www.w3schools.com/html/html_favicon.asp-->
</head>
<body itemscope itemtype="https://schema.org/LocalBusiness">
<a href="#hero" class="skip-link">Skip to main content</a>
<header class="content-center">
<a itemprop="url" href="index.html" class="logo"><img itemprop="logo" src="img/logo1.png" alt="Logo home"></a> <!-- Logo til nettstedet og link til forsiden. En del av innholdet. -->
<nav>
<ul class="text-s">
<li><a href="index.html" class="active">Home</a></li>
<li><a href="products.html">Products</a></li>
<li><a href="about.html">About</a></li>
<li><a href="about.html#contact" class="btn-primary btn-m">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section id="hero" aria-labelledby="first-heading">
<div class="content-center onecol"> <!--Sentrerer innhold etter maksbredden-->
<h1 itemprop="name" id="first-heading" class="heading-l">Award winning webdesign</h1>
<p itemprop="description" class="text-l">Company name is your complete webdesign studio for branding, design and development. Contact us today to get your ideas to life and start ranking high in Google</p>
<a href="#services" class="btn-primary btn-m">Read more about out services</a>
</div>
<video title="Droneshoot of parachuting people high in the mountains" autoplay muted loop class="hero-video">
<source src="video/mountains.mp4" type="video/mp4">
</video>
<picture>
<source srcset="img/x1280/mountains-1280.jpg" media="(min-width: 768px)">
<img itemprop="image" src="img/mountains.jpg" alt="Droneshoot of parachuting people high in the mountains" class="bg-image"> <!-- Bakgrunnsbilde for headeren, men kan regnes som innhold dersom det skal påvirke eller selge bedriften til besøkende. -->
</picture>
</section>
<section class="content-center onecol">
<h2 class="heading-m">Engaging subheading. What can you help your visitors with</h2>
<p class="text-m">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sit amet diam metus. Maecenas aliquam nisl nec ex finibus porta.</p>
</section>
<section class="bg-yellow" aria-labelledby="about-summary-header">
<div class="content-center row-nowrap about-summary"> <!--Sentrerer innhold etter maksbredden-->
<article>
<h2 id="about-summary-header" class="heading-s">About our company</h2>
<p class="text-m">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sit amet diam metus. Maecenas aliquam nisl nec ex finibus porta.</p>
<a href="about.html" class="btn-secondary btn-m">Read more about our us</a>
</article>
<img src="img/placeholder_400x400.jpg" alt="Placeholder for about us"> <!-- Bilde tar opp en del av layouten, kan regnes som innhold -->
</div>
</section>
<section itemprop="hasOfferCatalog" itemscope itemtype="https://schema.org/OfferCatalog" id="services" class="content-center fourcol">
<h2 class="heading-m">Our services</h2>
<article itemprop="itemListElement" itemscope itemtype="https://schema.org/Service" class="service" tabindex="0">
<h3 itemprop="name" class="heading-s">Branding</h3>
<p class="text-m">Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
<i class="fa-solid fa-users icon-m" aria-hidden="true"></i> <!-- Bruker order for å visuelt posisjonere ikonet først i article taggen -->
</article>
<article itemprop="itemListElement" itemscope itemtype="https://schema.org/Service" class="service" tabindex="0">
<h3 itemprop="name" class="heading-s">Branding</h3>
<p class="text-m">Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
<i class="fa-solid fa-cloud-arrow-up icon-m" aria-hidden="true"></i>
</article>
<article itemprop="itemListElement" itemscope itemtype="https://schema.org/Service" class="service" tabindex="0">
<h3 itemprop="name" class="heading-s">Branding</h3>
<p class="text-m">Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
<i class="fa-solid fa-code icon-m" aria-hidden="true"></i>
</article>
<article itemprop="itemListElement" itemscope itemtype="https://schema.org/Service" class="service" tabindex="0">
<h3 class="heading-s">Branding</h3>
<p class="text-m">Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
<i class="fa-solid fa-wifi icon-m" aria-hidden="true"></i>
</article>
</section>
</main>
<aside class="content-center bg-light">
<h2 class="heading-m">Sign up for our newsletter</h2>
<form>
<label for="s-mail" hidden>Your email</label>
<input type="email" id="s-mail" placeholder="Email">
<input type="submit" value="Sign me up" class="btn-primary btn-m">
</form>
</aside>
<footer class="bg-dark">
<div id="footer-inner" class="content-center"> <!--Sentrerer innhold etter maksbredden-->
<a href="index.html" class="logo"><img src="img/logo1.png" alt="Logo home" loading="lazy"></a><!-- Logo til nettstedet og link til forsiden. En del av innholdet. -->
<p class="text-s">Company © 2023</p>
<a href="https://facebook.com" class="icon-s" aria-label="Facebook page"><i class="fa-brands fa-square-facebook"></i></a>
<a href="https://instagram.com" class="icon-s" aria-label="Intsagram page"><i class="fa-brands fa-square-instagram"></i></a>
<a href="https://linkedin.no" class="icon-s" aria-label="Linkedin page"><i class="fa-brands fa-linkedin"></i></a>
</div>
</footer>
<a href="#" id="toTop" aria-label="Go to top" tabindex="0"><i class="fa-solid fa-arrow-up" aria-hidden="true"></i></a> <!-- Tutorial kode fra W3chools om å implementere back to top knapp, men har forenklet funksjonaliteten litt med å gjøre om knappen til en a tag med en anchor som tar brukeren øverst til den nåværende siden, istedenfor å bruke Javascript. Link: https://www.w3schools.com/howto/howto_js_scroll_to_top.asp -->
<script src="js/script.js"></script>
</body>
</html>