Answers for "how to create a html editor and output"

3

what should i use for html

You can both use notepad(Pc), TextEdit(Mac) but thats not really good
so i would probably use atom, sublime text or visual studio code
Posted by: Guest on January-20-2021
0

basic html text editor code

<!DOCTYPE html>
<html lang="en">
<head>
    <style>
        #printcss {
            margin: 6;
            height: 300;
            width: 300;

        };

        #txt {
            width: 100%;
        }
    </style>

    <script>
        function prt() {
            print();
        };

        function ref() {
            document.location.reload();
        }
    </script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>printext</title>
</head>
<body>
    <center>
        <button onclick="ref()">new file</button>
        <button id="printcss" onclick="prt()">print</button>
        
        
    </center>
    <textarea name="txt" id="txt" cols="250" rows="1000"></textarea>
</body>
</html>
Posted by: Guest on February-03-2021

Code answers related to "how to create a html editor and output"

Browse Popular Code Answers by Language