---
title: "Discussion on \"Create Reusable Web Components in HTML\" | Hashnode"
description: "Discussion on \"Create Reusable Web Components in HTML\". Ever think of creating a webpage using HTML with a simple Header and Footer? That's easy, right?\nBut what if your application grows and you need to repeat the same code for the header and footer 5, 10, or say 15 times?\n\nRemember the DRY (Don't Repeat..."
url: "https://hashnode.com/posts/create-reusable-web-components-in-html/5fe117e00134f65eed0c9220"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Create Reusable Web Components in HTML](https://anuradha.hashnode.dev/create-reusable-web-components-in-html?utm_source=hashnode&utm_medium=feed)

Ever think of creating a webpage using HTML with a simple Header and Footer? That's easy, right? But what if your application grows and you need to repeat the same code for the header and footer 5, 10, or say 15 times? Remember the DRY (Don't Repeat...

Dec 21, 2020 · 5 min read · anuradha.hashnode.dev  
Updated May 28, 2023  
Read the article

-   [#html](https://hashnode.com/tag/html)
-   [#web-components](https://hashnode.com/tag/web-components)
-   [#components](https://hashnode.com/tag/components)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Anuradha Aggarwal](https://hashnode.com/@anuradha)

@anuradha · New Delhi, India

  
[View profile](https://hashnode.com/@anuradha)

Software Developer Engineer II

A software engineer who likes to explore new technologies, problem-solving, build projects, and have a keen interest in Web development.

## Responses 2

Markdown supported · ⌘↵ to post

[MOHIT SHARMA](https://hashnode.com/@mohit104)

[May 29, 2021](https://hashnode.com/posts/create-reusable-web-components-in-html/5fe117e00134f65eed0c9220/comment/60b25db2fb51fd32a4dc0f0c)

worked for me thanks

[Anuradha Aggarwal](https://hashnode.com/@anuradha)

[May 30, 2021](https://hashnode.com/posts/create-reusable-web-components-in-html/5fe117e00134f65eed0c9220/comment/60b25db2fb51fd32a4dc0f0c#reply-60b3c4f9241c3d4add68acba)

I'm glad you find it useful [MOHIT SHARMA](https://hashnode.com/@mohit104)

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

[Dec 21, 2020](https://hashnode.com/posts/create-reusable-web-components-in-html/5fe117e00134f65eed0c9220/comment/5fe120c20134f65eed0c926b)

Well written👍. Web Components FTW🎉
