Answer the question
In order to leave comments, you need to log in
Layout of sites on XML (in the HTML furnace), custom tags and indexing by search engines, how are things going?
Hello.
<my-button class="block black"></my-button>
my-modal
и подобных кастомных тегов для элементов дизайна, которые часто встречаются. Это и называется кастомными тегами, впрочем, удивляться нечему.I really hope for a normal answer or an indication of another way to use custom tags.
Answer the question
In order to leave comments, you need to log in
About 10 years ago there were sites on pure XML for data and XSLT for converting this data into HTML. Moreover, the conversion worked by means of the IE browser without JS (there was such a function).
Many people liked this idea - the separation into data and their presentation.
Perhaps the idea is good, but evolution, so to speak, has chosen a different path - a movement towards simplification. Now, as I see it, I have abandoned XML altogether, it has been replaced by a simpler presentation format - JSON. Instead of XSLT, either HTML templates like in Angular or JSX are used.
Oh ... Some kind of garbage toil. Take a look at VueJS if you want to write during layout:
Well, or web components... And stop toiling with nonsense... It will not bring you money. The benefits of such experiments also tend to zero. And if I were in the place of the customer, I would go around you for 500 kilometers ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question