xFactorSchool.com
Python
JavaScript
How to Do Examples
C Examples
Python Examples
HTML Examples
Code Examples
C Code Examples
C++ Code Examples
C# Code Examples
Java Code Examples
Python Code Examples
HTML Code Examples
CSS Code Examples
JavaScript Code Examples
Online Compilers
C Compiler
C++ Compiler
C# Compiler
Java Compiler
Python Compiler
HTML Code Editor
CSS Code Editor
JavaScript Compiler
JavaScript Code Editor
Practice how to add placeholder to a textbox in an HTML page
HTML Online Editor
Run Code
More HTML Sample Codes
<!DOCTYPE html> <html> <head> <title>Placeholder in Textbox in HTML Page</title> <!-- Title of the page--> </head> <body> <h1>Example of Placeholder in a TextBox in a Webpage</h1> <hr /> <h3>This is a textbox.</h3> <!--<input> is used to create textbox. placeholder="Type your name here" defines the palceholder in the textbox --> <input type="text" name="myName" placeholder="Type your name here" /> <p><input> with 'type="text"' is used to create the textbox. placeholder="Type your name here" defines the palceholder in the textbox. </p> </body> </html>