How to use macros in html .
I do not want to re-write a part of html code in many pages.
any way to use modular kind of programming in html.

Thx in advance.

html is not programming, programming concepts do not apply to html

the concept of macros does not exist.

But if you create php pages, php being a programming language, you can use include files to write common parts of your page, and on editing a file file affect all your pages. The include file writes the same bit of html for you each time.

Be a part of the DaniWeb community

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