online html editor
<!-- Answer to: "online html editor" --> <!-- A common good "online editor" would be: https://jsfiddle.net/ However, for an online editor focusing specifically on html this one is pretty good: https://html-online.com/editor/ -->
online html editor
<!-- Answer to: "online html editor" --> <!-- A common good "online editor" would be: https://jsfiddle.net/ However, for an online editor focusing specifically on html this one is pretty good: https://html-online.com/editor/ -->
how to make a text editor in html
function chooseColor(){ var mycolor = document.getElementById("myColor").value; document.execCommand('foreColor', false, mycolor); } function changeFont(){ var myFont = document.getElementById("input-font").value; document.execCommand('fontName', false, myFont); } function changeSize(){ var mysize = document.getElementById("fontSize").value; document.execCommand('fontSize', false, mysize); } function checkDiv(){ var editorText = document.getElementById("editor1").innerHTML; if(editorText === ''){ document.getElementById("editor1").style.border = '5px solid red'; } } function removeBorder(){ document.getElementById("editor1").style.border = '1px solid transparent'; }
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us