IT2805/Exercise 4/index.html

30 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>HTML5 Video and CSS</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="screen">
<video autoplay muted loop poster="img/hovedbygget.png">
<source src="videos/hovedbygget.mp4" type="video/mp4">
<source src="videos/hovedbygget.ogv" type="video/ogv">
<source src="videos/hovedbygget.webm" type="video/webm">
</video>
<img id="mobile-image" src="img/hovedbygget.png" alt="Hovedbygget på ntnu">
<div id="title">
<img src="img/ntnu.png" alt="NTNU" />
</div>
</div>
<article class="content">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</article>
</body>
</html>