What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

How to use the same <select> tag at different places ? (newbie question)


New member
Hello, i'm begginer with html and i want to create a markdown/html notebook containing a binary tree where each node is a <select> tag.

Since i have 15 of those <select> tags, all the same, and i don't want to write it 15 times, i was wondering if one can define, for example,

<select id="mytag">

and then use mytag [here], [here] and [here] again,
oh and [here] and [here] again.

Of course, each [here] occurrence should be replace with my <select> tag, all the same.

Is it possible to do this in a markdown/html (jupyter) notebook ?
Any help would be greatly appreciated !