HTML Basics
What is HTML?
HTML stand for HyperText Markup
Language.
HTML is the building Blocks of Website.
(all web use HTML).
>
HTML Boilerplate
>
HTML Boilerplate
<! DOCTYPE html> : Tell the browser this is
HTML.
<html>: the root of project.
<head>: info about your page
(title,seo,favicon etc)
<title>: name shown in the browser.
<meta lang=“UTF-8”> : make sure special
characters show exactly.
<body> : UI Content (text,image,buttons).
>
Headings in HTML
<h1>I'm Heading
1</h1>
<h2>I'm Heading
2</h2>
<h3>I'm Heading
3</h3>
<h4>I'm Heading >
<p> Tag
<p>i'm a paragraph
1</p>
<p>i'm a paragraph
2</p>
>
Div and Span
Div: A container box used to group multiple
element in block and it block level.
Span: Wraps small pieces of text or elements
inside other elements. Span is inline-element.
>
a tags (anchor
tag)
a: anchor tag is used to link to other website or id.
href: href is the link or id.
<a href="https://www.google.com">google</a>
>
Line Breaker
br: This tag is used to break line.
pre: This will display exact text as written.
hr: This will create a horizontal line where is used.
>
Line Breaker...
>
HTML Comments
Coment is something which is ignored by Compliler.
Why: For Notes, Personal Reminder.
Written as: <!– This is comment -->
>
Presented by: Jabiru Labs
Contact us at
Mobile Number : +923449441404
Website : www.jabirulabs.com