Skip to content

Commit

Permalink
Semantic tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kstubhieeee committed Nov 20, 2024
1 parent 8142cc6 commit 89945dd
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
**[10 Marks]** [View Code](shadow/index.html)

4. **Explain any 5 semantic tags of HTML5 with an example.**
**[10 Marks]**
**[10 Marks]** [View Code](semantic-tags)

5. **What is HTTP? Describe the structure of HTTP request and response messages.**
**[10 Marks]**

6. **Write a code to drag an image from outside the box and drop it inside the box.**
**[5 Marks]**
[View Code](html+js/dragAndDrop.html)
[View Code](html+js/dragAndDrop.html)

7. **Create an external stylesheet and link it to an HTML form. The stylesheet should include:**

Expand Down
4 changes: 4 additions & 0 deletions semantic-tags/article.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<article>
<h3>How to Learn HTML</h3>
<p>HTML is the foundation of web development. Start by learning the basic tags...</p>
</article>
4 changes: 4 additions & 0 deletions semantic-tags/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<footer>
<p>&copy; 2024 My Website. All Rights Reserved.</p>
<p><a href="#privacy-policy">Privacy Policy</a> | <a href="#terms">Terms of Use</a></p>
</footer>
10 changes: 10 additions & 0 deletions semantic-tags/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<header>
<h1>Welcome to My Website</h1>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
7 changes: 7 additions & 0 deletions semantic-tags/nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<nav>
<ul>
<li><a href="#services">Services</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#blog">Blog</a></li>
</ul>
</nav>
4 changes: 4 additions & 0 deletions semantic-tags/section.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<section>
<h2>Our Services</h2>
<p>We offer web development, app development, and digital marketing services.</p>
</section>

0 comments on commit 89945dd

Please sign in to comment.