Sample html

 Sample html coding


-----Description-----


<!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 programming, 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 .
Open an editor in notepad.
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.

Example-input

<!DOCTYPE html> 
<html> 
<head> 
<meta name="viewport" content="width=device-width, initial-scale=1"> 
</head> 
<body> 

Welcome to programming website.

</body> 
</html>

Output

Welcome to programming website.



Comments

Popular posts from this blog

Fish effect

Bulb cool Effect