Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p>This is a paragraph. This text has no alignment specified.</p> <div align="center" style="border:1px solid red"> This is some text in a div element! </div> <p>This is a paragraph. This text has no alignment specified.</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_div_align by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:23 GMT --> </html>
Result:
Try it Yourself - © w3schools.com