You can make the identifier a parameter for the query selector. For PHP and compatible languages, an associative array is used (actually objects), and then json_encode.
$temp=array('#id' =>array('href'=>'services.html') ,'img' =>array('src'=>"img/SolutionInnerbananer.jpg") ,'.html'=>'<h2 class="fg-white">AboutUs</h2><p class="fg-white">...</p>' ); echo json_encode($temp);
But HTML does not do this for you without any JS.
{"#id":{"href":"services.html"},"img":{"src":"img\/SolutionInnerbananer.jpg"} ,".html":"<h2 class=\"fg-white\">AboutUs<\/h2><p class=\"fg-white\">...<\/p>"}
source share