HTML-5 || Basic to Advance || Introduction || Part-1
Programming
Codester
HTML[TUTORIAL-1]
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> |
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.
my other tutorials are here:
Comments
Post a Comment