+ 1
Is there a <scroll-container> or <scroll-page> tag in Html?
I came across a code block on MDN which contains two unfamiliar tags namely scroll-container and scroll-page. After some research, I couldn't find any info regarding these tags. Please what are their roles? https://code.sololearn.com/WwPDCO6gi70o/?ref=app
6 ответов
+ 3
A_Coder please do not mark your own answer as best answer as this is seen as a negative behavior as selfanswer... just a heads up
+ 2
BroFar I found out it is an example of a custom tag.
Useful links:
https://dev.to/jfbrennan/custom-html-tags-4788
https://stackoverflow.com/questions/5682943/how-to-create-custom-tags-for-html
+ 2
Yes, I already knew about custom tags and have used them many times, but I thought maybe you had found real tags, that maybe I had missed.
Recalling 111 HTML5 tags I thought maybe they, w3schools, had introduced some new ones.
Still a nice find... and very easy to implement as far as an onpage navigation.
Thanks for sharing...
+ 1
interesting as I had not seen that A_Coder but it does work with the CSS...
nice find...
btw I saw your question on stackoverflow as well...
https://stackoverflow.com/questions/61569013/is-there-a-scroll-container-or-scroll-page-tag-in-html
https://code.sololearn.com/Wi285Ihxpzw5/?ref=app
+ 1
Oh ok. 👍🏽
+ 1
BroFar Oh, ok. I see !