Write 10 HTML programs for class 10
Answers
Answer:
Follow the steps below to create your first web page with Notepad or TextEdit.
Step 1: Open Notepad (PC) Windows 8 or later: ...
Step 1: Open TextEdit (Mac) Open Finder > Applications > TextEdit. ...
Step 2: Write Some HTML. ...
Step 3: Save the HTML Page. ...
Step 4: View the HTML Page in Your Browser.
Explanation:
<html> … </html> — The root element. ...
<head> … </head> — The document head. ...
<title> … </title> — The page title. ...
<body> … </body> — The page's content. ...
<h1> … </h1> — A section heading. ...
<p> … </p> — A paragraph. ...
<a> … </a> — A link. ...
<img> — An image.
Below is an example of HTML used to define a basic webpage with a title and a single paragraph of text. ... doctype html>" means the page is written in HTML5. Properly formatted HTML pages should include <html>, <head>, and <body> tags, which are all included in the example above
Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript. ... HTML elements are the building blocks of HTML pages.