Tag Archives: HTML5

Create your own element in HTML

In HTML5 ,you can create your own element in HTML using browser trick. Example: <html> <head> <title>Styling the own created element</title> <script>document.createElement(“myEle”)</script> <style> myEle{ display:block; background-color:#ddd; padding: 50px; font-size: 30px; } </style> </head> <body> <myEle>New element created suddessfully</myEle> </body> </html>