Web Designs

Zyon Studios
Home Forum Blog Contact

Web Design from scratch. HTML

Nov 28, 2021 AT 05:17PM


What is HTML,
HTML stands for Hyper Text Markup Language.HTML is the language used to design & create Web pages.HTML mainly describes the structure of the Web page.This has series of elements & this HTML elements tell the browser how to display the content
A simple Example of the HTML page
<!DOCTYPE html>
<title>Page Title</title>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
The <!DOCTYPE html> declaration defines that this document is an HTML5 document
The <html> element is the root element of an HTML page
The <head> element contains meta information about the HTML page
The <title> element specifies a title for the HTML page (which is shown in the browsers title bar or in the pages tab)
The <body> element defines the documents body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
The <h1> element defines a large heading
The <p> element defines a paragraph
HTML Elements.
HTML element is defined by a start tag, some content, and an end tag:
<tagname>Content goes here...</tagname>
The HTML element is everything from the start tag to the end tag:
<h1>My First Heading</h1>
<h2>Sub Heading </h2>
<h3>Another sub heading</h3>
<p>My first paragraph.</p>
The <html> element is the root element and it defines the whole HTML document.
It has a start tag <html> and an end tag </html>.
Then, inside the <html> element there is a <body> element,
<h1>My First Heading</h1>
<p>My first paragraph.</p>
<body> element defines the documents body.
It has a start tag <body> and an end tag </body>.
Then, inside the <body> element there are two other elements
<h1> and <p>
<h1>My First Heading</h1>
<p>My first paragraph.</p>

2021-08-11 02:02:44pm

2021-08-13 09:51:04am