954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

macros in html

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.

tweets23
Newbie Poster
2 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

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.

drjohn
Posting Pro in Training
448 posts since Mar 2010
Reputation Points: 76
Solved Threads: 80
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You