Html full form hypertext markup language for creating webpages and web application.
<!DOCTYPE html>
The <!DOCTYPE html> defines the page is HTML5.
<html>
This tag is the root of an HTML page.
<head>
- This tag contains meta information about the page.
- This tag can include a title for the document, scripts, styles, meta information and more.
<title>
- The tag contains a title for the page.
- This tag is required in all HTML documents and it denote the title of the document.
- Displays a title for the page in search-engine results (important for SEO).
- More than one <title> tag in an HTML document is not allowed.
<body>
This tag contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc
How to Run in computer?
In this HTML Code Play, we are using an inbuilt editor and a browser, so no need to follow the steps.
In computer you need an editor (eg. notepad/notepad++) for typing HTML code.
- Open an editor
- Type your HTML code.
- Save the file with (.html) extension.
- To execute the code just double click on the html file.
- This file will open in your default browser and you can see the program output. Code=
- <!DOCTYPE html>
- <html>
-
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- </head>
-
- <body>
-
- Here you can write the html code
-
- </body>
-
- </html> . Output=Here you can write the html code
What is a html
Reviewed by Network security
on
April 29, 2019
Rating:
Nice
ReplyDeleteThanks
ReplyDelete