Answers for "html textarea formatting code"

0

html inside textarea

<textarea rows="20" cols="50" class="txtarea">
            
            <!DOCTYPE html>
            <html>
                <head>
                    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
                    <title></title>
                </head>
                <body>
                    <h1>This is a basic html</h1>
                </body>
            </html>
            
        </textarea>
        
        <style>
            .txtarea{
                /* Your Style Here */
            }
        </style>
Posted by: Guest on August-06-2021

Browse Popular Code Answers by Language