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

What Is HTML?

HTML is a markup language for creating web documents / pages

1.Hyper Text Markup Language

2.Markup language – Uses a set of markup tags

3.NOT a programming language

HTML Tags

  1. HTML tags define HTML elements which is an individual component of an HTML document or web page.
  2. Keywords surrounded by angle brackets
[code language=”html”] <p>This is a paragraph element surrounded in paragraph tags</p> [/code]

Page Structure

[code language=”html”] <!DOCTYPE htm> <html> <head> <title>My Webpage</title> </head> <body> <p>This is my first web page,/p> </body> </html> [/code]

<!DOCTYPE html> – Declaration defines this document as HTML5
<html> – Describes an HTML document
<head> – Provides information about the document
<title>- Provides a title for the document

<body> – Describes the visible page content

Common Doctype Declarations

Doctype declarations for HTML5, HTML 4.01 Transitional and XHTML 1.0 Transitional

Closing Tags

Not all tags have closing tags like <p></p>
Some tags can close themselves
Line-Break Tag – <br>

Self Closing Line-Break Tag –<br/> (Remnant of XHTML)

Common HTML tags list including p, h1-h6, a, img, ul, ol, li, table, form, input, button, br, div

Attributes

Tags can also have “attributes” which include extra bits of information about that tag/element. Attributes appear in the tag inside of quotation marks

[code language=”html”] <tag attribute=“value”></tag> <a href=“http://google.com”>Click</a> <h1 id=“myHeading”</h1> [/code]

Block Level Elements

  • Always starts on a new line
  • §Takes up full available width
[code language=”html”] <div> <h1> – <h6> <form> [/code]

Inline Level Elements  

  • Does not start on a new line
  • Takes only width necessary
[code language=”html”] <span> <a> <img> [/code]

Creating A Web Page

  1. Use a text editor or IDE to create your HTML document
  2. Add elements, tags, attributes, etc
  3. Save file with a .html extension
  4. Open it up in a browser – No server needed

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
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x