×
Home
Courses
Templates
Founder
I love Coffee
YouTube
Theme:
blackboard
cobalt
eclipse
mbo
mdn-like
monokai
pastel-on-dark
rubyblue
the-matrix
Font Size:
Text | Images | Audio | Video
CSS Libraries | CSS Framework
JavaScript Libraries
Auto Run Js
Word Wrap
Auto Close Tag
Highlight Layer Mode
☰
HTML
<!DOCTYPE html> <html> <head> <title>Title</title> </head> <body> <h1 contenteditable="true" id="heading">View</h1> </body> </html>
CSS
/* CSS Code */ h1 { font-family: Arial,sans-serif; color: purple; text-align: center; } .emenwa {color:deeppink;}
JS
// JavaScript Code var headerTag = document.getElementById('heading'); headerTag.innerHTML += "<span class='emenwa'>Panel</span>";
Output: