-
Notifications
You must be signed in to change notification settings - Fork 2
Basic HTML
This Is a Paragraph in paragraph tag inside body.
This Is Bold LineThis is itallic
This Is Underlined
This text is strong This text is emphasized strong and em means that the text is "important".
😀 😄 😍 💗
My Bonnie lies over the ocean. My Bonnie lies over the sea. My Bonnie lies over the ocean. Oh, bring back my Bonnie to me.
My favorite color is blue red.
My favorite color is red.
This is subscripted text.
This is superscripted text.
This is a linkThis is a link to p01 ID Paragraph of Same Page Jump to Chapter 4 ID Of Different Page
This is a red paragraph at center with 200% larger font size and colourful background.
This text will be written from right to leftBoarder With HTML Colour
I am different
Locked in a frame? Click here Go To Top!
The image will float to the right of the text.
| Firstname | Lastname | Age |
|---|---|---|
| Jill | Smith | 50 |
| Eve | Jackson | 94 |
| John | Doe | 80 |
- Coffee
- Tea
- Milk
- Coffee
- Tea
- Milk
- Coffee
- Tea
- Milk
This Will be changed
<script> document.getElementById("demo0").innerHTML = "Hello JavaScript! I'm Changed"; </script>Click Me!
JavaScript can change the style of an HTML element.
<script> function myFunction() { document.getElementById("demo1").style.fontSize = "25px"; document.getElementById("demo1").style.color = "red"; document.getElementById("demo1").style.backgroundColor = "yellow"; } </script> Click Me And See Magic!
Light On Light Off
x = 5;
y = 6;
z = x + y;
Save the document by pressing Ctrl + S Represents Keyboar User Input
If you input wrong value, the program will return Error! Represent Output
Einstein wrote: E = mc2.
Fig1. - Trulli, Puglia, Italy.
First name:
Last name:
Note that the form itself is not visible.
Also note that the default width of text input fields is 20 characters.
MaleFemale
Other
First name:
Last name:
If you click the "Submit" button, the form-data will be sent to a page called "/action_page.php".
When submitting this form, the result will be opened in a new browser tab:
First name:Last name:
This form will be submitted using the GET method:
First name:Last name:
After you submit, notice that the form values is visible in the address bar of the new browser tab.
This form will be submitted using the POST method:
First name:Last name:
After you submit, notice that, unlike the GET method, the form values is NOT visible in the address bar of the new browser tab.
The select element defines a drop-down list:
Choose a car: Volvo Saab Fiat AudiUse the multiple attribute to allow the user to select more than one value.
Choose a car: Volvo Saab Fiat AudiHold down the Ctrl (windows) / Command (Mac) button to select multiple options.
The textarea element defines a multi-line input field.
<textarea name="message" rows="10" cols="30">The cat was playing in the garden.</textarea>The fieldset element is used to group related data in a form, and the legend element defines a caption for the fieldset element.
Personalia: First name:Last name:
The output element represents the result of a calculation.
0 100 + =Note: The output element is not supported in Edge prior version 13.
Sorry, your browser does not support inline SVG. Sorry, your browser does not support inline SVG. Sorry, your browser does not support inline SVG. Sorry, your browser does not support inline SVG. SVG Sorry, your browser does not support inline SVG.