HTML-5 || Basic to Advance || Introduction || Part-1


Programming Codester

HTML[TUTORIAL-1]


Hello Wonderful People!

Let’s start with HTML basic!

HTML course’s Basic Outline:

  • 1.   INTRODUCTION
  • 2.   TAGS
  • 3.   TABLE
  • 4.  FORM

5.   MINI PROJECT USING HTML: PORTFOLIO

 

Introduction

·        HTML stands for Hyper Text Markup Language

·        HTML is the standard markup language for creating Web pages

·        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 label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.

HTML PAGE STRUCTURE:

<html>

<head>

<title>Page title</title>

</head>

<body>

.

.

.

.

.

</body>

</html>

 

 

SIMPLE PROGRAM:

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Example Explained

  • The <!DOCTYPE html> -> this document is an HTML5 document
  • The <html> -> the root element of an HTML page
  • The <head> -> contains meta information about the HTML page
  • The <title> -> specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)
  • The <body> -> defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
  • The <h1> -> a large heading
  • The <p> -> a paragraph

The <!DOCTYPE> Declaration

The <!DOCTYPE> 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).

The <!DOCTYPE> declaration is not case sensitive.

The <!DOCTYPE> declaration for HTML5 is:

 

Notes

·       To compile html code we use basically vs code.

·       File extension of html is .html.

             ·      Ex=index.html
so we learnt Basic Structure Of Html and details!!!
so i hope you understood the topic and started your journey of full stack development!😍📋

Comments

Popular posts from this blog

C programming | Printf and scanf ||

C programming | structure | Fundamentals of Structure

C programming | Fundamentals & Basic information

Basic question related programming || c programming || embedded programming

C++ || Operators with c++

C++ || string with c++ || Part - 1

Compiler & Interpreter | difference and explanation

c++|operators with c++|variables||

C programming | Nested structure | Array, function and pointer of structure|| structure Part-II

C++(oop)| Fundamentals | Concepts||