HTML☘️

                                                    What is HTML?

    HTML image | AWC services with w3school
  • HTML stands for Hyper Text Markup Language
  • HTML describes the structure of a Web page
  • HTML consists of a series of elements
  • HTML elements tell the browser how to display the content
  • HTML elements are represented by tags
  • HTML tags such as "heading", "paragraph", "table", and so on
  • Browsers do not display the HTML tags but use them to SHOW OUTPUT on website page

HTML COURCE Class: 1           

Example:

<!DOCTYPE html><html><title> HTML Tutorial</title><body>
<h1>My First Heading</h1><p> My First Paragraph.</p>
</body></html>

Web Browsers:

The view of a web browser (Chrome, Edge, Firefox, Safari) is to read HTML documents and display them.
The browser does not display the HTML code, but uses them to determine how to display the document:
awc services w3school html

A Simple HTML Document

Example Explained:

  •  <!DOCTYPE html>  declaration defines this document to be HTML5
  •  <html>element is the root element of an HTML page
  • The <head> the element contains meta-information about the document
  •  The <title> element specifies a title for the document
  • The <body> element contains the visible page content
  • The <h1> element defines a large heading
  • The <p> the element defines a paragraph

The <!DOCTYPE html> Declaration:

The <!DOCTYPE html>  declaration represents the document type and helps browsers to display web pages correctly.

It must only appear once,at the top of the page (before any HTML tags).
<!DOCTYPE html>

HTML Tags

HTML tags are element names enclosed by angle brackets:

 <tagname>any text..</tagname>
  • HTML tags usually come in pairs like <p> and </p>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, but with a forward slash  /   inserted before the tag name,       

HTML Page Structure:

Below is a visualization of an HTML page structure:

<!DOCTYPE html>

<html>

<head>
<title>Page title</title>
</head>

<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>


What is HTML?
Programming Language
Markup Language
Hypertext Library
Scripting Language

Answer Your Question in Comment Section!              

Comments

how I can help you?

Contact Form

Send