Update 'index-basic-example.html'

This commit is contained in:
JoanaChicau 2022-07-01 16:15:39 +02:00
parent 3407ad11d0
commit c6c4bbd23c

View File

@ -12,28 +12,35 @@
<meta name="Name" content="My name">
<meta name="Description" content="This is a description of this page. It can be useful to write a description if you want to take SEO (search engine optimization) into account.">
<!-- here is an example of how to link to a stylesheet -->
<link rel='stylesheet' href='CSS/my-style.css'/>
<!-- here is an example of how to link to a script -->
<script src="JS/script.js"></script>
</head>
<body>
<!-- Content goes here -->
<h1>Main Heading (H1)</h1>
<header>
<h1 id="title">Javascript meets the DOM</h1>
</header>
<h2>Second Heading (H2)</h2>
<p>This a sentence!</p>
<p>This is my first sentence!</p>
<p id="empty"></p>
<!-- Unordered List -->
<ul>
<li>list item 01</li>
<li>list item 02</li>
</ul>
<!-- Image -->
<!-- Image -->
<img src="https://upload.wikimedia.org/wikipedia/commons/4/45/Wikipedia20_animated_Wikipedia_Globe_1MB.gif" width="20%" alt="Animated image of Planet Earth, source Wikimedia">
<!-- Scripts -->
<script type="text/javascript">
alert('Hello, world!')
</script>
</body>
</html>