Browse Source

Update 'index-basic-example.html'

master
JoanaChicau 2 years ago
parent
commit
c6c4bbd23c
  1. 27
      index-basic-example.html

27
index-basic-example.html

@ -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>
<p>This a sentence!</p>
<h2>Second Heading (H2)</h2>
<p id="empty"></p>
<p>This is my first sentence!</p>
<!-- Unordered List -->
<!-- Image -->
<ul>
<li>list item 01</li>
<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">
<li>list item 02</li>
</ul>
<!-- Image -->
<!-- Scripts -->
<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">
<script type="text/javascript">
alert('Hello, world!')
</script>
</body>
</html>

Loading…
Cancel
Save