MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

HTML Tutorial Part-1

What is HTML?

Html provides a way of displaying Web pages with text and images or multimedia content. HTML is not a programing language, but a markup language. an HTML file is a text file containing small markup tags. The markup tags tell the web browser, such as Mozilla Firefox or google chrome, how to display the page. an HTML file must have an HTML or HTML file extension. HTML stands for a hypertext markup language.

Html pages are of two types

Static pages – Static pages, as the indicates, comprise static content (text or images). so You see the contents of a web page without being able to have any interaction with it.

Dynamic Pages- Dynamic pages are those the content of the web page depending on user input. So interaction with the user is required in order to display the web page. for example, consider a web page that requires a number to be entered form the user in order to find out if is even or odd. When the user enters the number and clicks on the appropriate button, the number is sent to the web server, which in turn returns the result to the user in an HTML page.

What is Tag

A tag is a bit of text that acts as a point demarcation. To create a tag, An end tag always matches a start tag, except that it has an extra forward slash after the opening angle bracket.

Ex-

What is Attribute

Attributes provide additional information about the contents of an element. They appear on the opening tag of the element and are made up of two parts: a name and a value, separated by an equal sign.

Ex-

The attribute name indicates what kind of extra information you are supplying about the element’s content. It Should be written in lowercase.

The value is the information or set for the attribute. It Should be placed in double-quotes. Different attributes can have different values.

In this example, an attribute called lang is used to indicate the language used in this element. The value of this attribute on this page specifies it is in US English.

HTML Tag

is a starting tag. To delimit the text inside, add a closing tag by adding a forward slash “/” to starting tag. Most but not all tags have a closing tag. It is necessary to write the code for an HTML page between and. This tells the browser is ‘this is the start of an HTML document’ and ‘this is the end of an HTML document’. Ex-

What is Head Tag

Before the element, you will often see an element. This contains information about the page, rather than information that is shown within the main part of the browser. You will usually find an element inside the <head> element. <head> is opening head tag and </head> is closing head tag.</p> Ex-

Title Tag

The contents of the element are either shown in the top of the browser, above where you usually type in the URL of the page you want to visit, or on the tab for that page (if your browser user tabs to allow you to view multiple pages at the same time). <title> is the opening title tag and closing title tag. Ex-

Body Tag

Everything inside this element is shown inside the main browser window. is opening a body tag and its the closing tag. Ex-

Doctype declaration

It is an instruction to the web browser about what version of HTML the pages is written in.

br tag

The br Tag in the HTML code inserts a line break in the. Ex


Headings

Heading Defines the format and structure of a document. There are six heading tag:-

Paragraph

The tag is used to create a new paragraph on the web page. It has a closing tag which is optional because a Paragraph automatically ends when we start another paragraph.

Ex-

Subscript

A subscript is a text that appears smaller than a regular text.

Ex:

Superscript

A superscript is a text that appears smaller size above the regular text.

Ex-

Horizontal Rules

The tag is used to create a horizontal rule on the web page. IT is an empty tag.
The web browser starts a horizontal rule from a new line, and any text that follows this tag is also displayed in a new line.


Align– Center Aligns the whole text to the center of the web page

align =”center”

Left– Aligns the whole text to the left side of the web page, align=”left”

Right– Aligns the whole text to the right side of the web page align=”right”

Justify– justifies the whole text and also indents the first line align=”justify”

Bold-The tag is used to render the text in bold style.

Italic– The tag is used to render the text as italic.

Strong- The tag indicates that its content has a strong importance.

Blockquote– The is used for long and multiline quotations.

Q element– The element is used for shorter quotes that sit within a paragraph.

Abbreviation and Acronym– The tag defines an abbreviation or an acronym. A title attribute on the opening tag is used to specify the full term.

Address– The tag is used to contain contact details for the author/owner of the page/article/web site.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Email API: Generating and Delivering Templates Programmatically

An email API for templates lets applications create, edit, and export HTML email content programmatically instead of coding every message manually. It separates template design and generation…

Read More

WordPress Typography Patterns: Styled Lists, Notice Boxes, and Code Blocks with Reusable CSS

This guide modernizes a legacy WordPress typography post into practical, reusable patterns for custom list markers, callout boxes, and code styling. It focuses on maintainable CSS and editor-friendly markup you can reuse across posts and documentation pages.

Read More

What to choose: front-end or backend development?

Regarding web development, two main areas play a crucial role in creating a functional and visually appealing website: frontend and backend development. Frontend development focuses on the…

Read More

Best Tools for Writing Official Product Documentation in HTML: A Complete 2026 Guide

Introduction Product documentation is no longer a collection of static help pages added after a product is completed. For a modern software product, documentation is part of…

Read More

The Best Way to Create Slides for Educators: A High-Level Guide to Automated Course Slide Generation

Meta Description A complete high-level guide for educators, trainers, and course creators on how to automate slide creation using Markdown, templates, images, reusable content, and multi-format exports…

Read More

Building the Virtual Classroom: An Introduction to HTML5 Layouts for Online School Portals

To build a virtual classroom, you need to grasp HTML5 layouts. Use semantic elements like <header>, <nav>, <section>, and <footer> for better accessibility and SEO. Make certain…

Read More