README
参考资料
https://blog.csdn.net/liuyinggui163/article/details/125226762
https://github.com/keanulee/good-map/blob/master/good-map.js
https://code.tutsplus.com/tutorials/extending-the-html-by-creating-custom-tags--cms-28622
Top 10 Rules For Using Custom HTML Tags:
- Always follow the naming rules for custom tags.
- Choose descriptive tag names so your markup reads well.
- Use short tag names to make your HTML source code smaller in file size.
- Never use self-closing custom tags because they are invalid.
- Never use a custom tag if a native HTML tag is more appropriate.
- Use custom HTML tags to replace divs and avoid div-soup markup.
- Remember to set custom tags to display:block in CSS if you're using them for page structure.
- Make separate custom tags for each specific purpose to keep your CSS clean and organized.
- Use custom attributes on custom elements to add properties or CSS hooks.
- Spread the word about why custom HTML tags are so good! (Share this page!)