I'm new to web development. I'm trying to design different pages of a website having similar properties like background, navigation menu, footer etc. How do I design all the webpages using just one code in order to avoid multiple editing when a change is necessary.

You want to include a shared header and a shared footer. Typically this is done with a server-side language such as PHP or Python.

You can get started with an existing CMS (something that takes care of all of this for you, and more) such as Wordpress.

commented: Thanks for the quick response. I actually want to learn web development from scratch, so, I'm not sure if WordPress would do. +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.