Introduction to HTML
WHAT IS HTML?
๐น HyperText Markup Language
๐น HTML is a markup language that web developers use to structure
and describe the content of a webpage (not a programming
language)
๐นHTML consists of elements that describe different types of content:
paragraphs, links, headings, images, video, etc.
๐นWeb browsers understand HTML and render HTML code as website
Html ,แแแต HyperText Markup Language แฒแแ แฅแฑแ แฐแแ แแ แ แแ web pageแธแแ structureแ แแแตแฐแซแจแ แแ content ,paragraph ,heading แจแฐแแซแฉ แแแฎแฝแ แแแแแฃแต แญแ แ แแแ แตแแแ แweb pageแฝแ แแแ แแ แแแต แแ css แฅแ JavaScript แแแ แแ แจแแต html แจแตแแแแ
#website #technology #news
Channel :๐๐๐๐๐๐๐
https://t.me/Muju_man_coding
WHAT IS HTML?
๐น HyperText Markup Language
๐น HTML is a markup language that web developers use to structure
and describe the content of a webpage (not a programming
language)
๐นHTML consists of elements that describe different types of content:
paragraphs, links, headings, images, video, etc.
๐นWeb browsers understand HTML and render HTML code as website
Html ,แแแต HyperText Markup Language แฒแแ แฅแฑแ แฐแแ แแ แ แแ web pageแธแแ structureแ แแแตแฐแซแจแ แแ content ,paragraph ,heading แจแฐแแซแฉ แแแฎแฝแ แแแแแฃแต แญแ แ แแแ แตแแแ แweb pageแฝแ แแแ แแ แแแต แแ css แฅแ JavaScript แแแ แแ แจแแต html แจแตแแแแ
#website #technology #news
Channel :๐๐๐๐๐๐๐
https://t.me/Muju_man_coding
๐2
แฐแแ แคแฐแฐแฆแปแฝแ แญแ
แ app download แ แตแญแแต แจแ แแ แ แแ แ แฐแแฃแญ แตแ แแแแญ แญแ
app แ แตแแแ แแ แจแณแฝ แซแแแ link แ แแแซแต แ แแญแฑแต ๐๐๐๐๐๐๐๐๐๐๐๐
Check out "Spck Editor / Git Client"
https://play.google.com/store/apps/details?id=io.spck
Check out "Spck Editor / Git Client"
https://play.google.com/store/apps/details?id=io.spck
๐2
Structure of an HTML document
แฐแแ แคแฐแฐแฆแฝ แ แซแแฝแแ แต แฐแแแน แญแฅแ
แแฌ แจแแแแจแ แจ html structureแ แแแข
structure แตแแ แแ แแฐแแฝแ แจ html แ แแแแญ แแแต แแ แข
แตแแต แ แแแแฎแฝ แ แแต ?
แฅแแฑแต แแแธแ ?
แฅแซแแฝแ แจแณแนแ แฅแจแ แจแแฝแ แซแณแฝแแ แฅแจแแแแน แ แฅแแ
https://t.me/Muju_man_coding
แฐแแ แคแฐแฐแฆแฝ แ แซแแฝแแ แต แฐแแแน แญแฅแ
แแฌ แจแแแแจแ แจ html structureแ แแแข
structure แตแแ แแ แแฐแแฝแ แจ html แ แแแแญ แแแต แแ แข
แตแแต แ แแแแฎแฝ แ แแต ?
แฅแแฑแต แแแธแ ?
แฅแซแแฝแ แจแณแนแ แฅแจแ แจแแฝแ แซแณแฝแแ แฅแจแแแแน แ แฅแแ
https://t.me/Muju_man_coding
๐3โค1
HTML documents have two sections
Header
- Contains information about the document
- The <head> โฆ </head> element defines the head
headre แ แฅแแแแ แแ title ,link ,style แฅแ meta แจแแณแฐแแตแ แแแฝแแ แต แแแข
header แแญ แจแแแฝแแ แแแญ web pageแฃแฝแ แแญ แ แญแณแญแ
Body
- Contains the actual document content
- The <body> โฆ </body> element defines the body
- Body แจ web pageแฃแฝแ แแแ part แแ
body แแญ แแแฝแแ แแแญ แแฅแณ web page แฃแฝแ แแญ แญแณแซแ แจ web paegแฃแฝแ แแ part แแแข
https://t.me/Muju_man_coding
Header
- Contains information about the document
- The <head> โฆ </head> element defines the head
headre แ แฅแแแแ แแ title ,link ,style แฅแ meta แจแแณแฐแแตแ แแแฝแแ แต แแแข
header แแญ แจแแแฝแแ แแแญ web pageแฃแฝแ แแญ แ แญแณแญแ
Body
- Contains the actual document content
- The <body> โฆ </body> element defines the body
- Body แจ web pageแฃแฝแ แแแ part แแ
body แแญ แแแฝแแ แแแญ แแฅแณ web page แฃแฝแ แแญ แญแณแซแ แจ web paegแฃแฝแ แแ part แแแข
https://t.me/Muju_man_coding
โค1๐1
In HTML,
<!DOCTYPE> แฃแญแฉ document type แแแต แแแข แฅแ แจแแแ แแแ html type แแญแ แแ แ แญแแต html แฅแแฐ แแแ แแ แ แแแ browserแฃแฝแ แฅแแฒแซแแ แจแฐแญแแ
-browser แจแแแฝแแ Chrome, Firefox, Safari, and Edge แแธแ แฅแแฑแ HTML, CSS, and JavaScript แ แแแ interpret แแญแ แแฐแจแแแแ แแธแ
For modern HTML, the doctype declaration is very simple:
This declaration tells the browser that the document is written in HTML5, the latest version of HTML. Older versions of HTML have more complex doctype declarations, but HTML5 simplifies this to ensure compatibility and uniform rendering across browsers.
แญแ doctype แ browsereแฃแฝแ แ แแแ html5 แฅแแฐ แแ แแ แญแแแจแแ แข
HTML5 modern แจแแ doctype แแ แข แ แฐแจแแช แ แฃแ แแแ แแแข
old doctype declare แตแแจแแธแ แ แฃแ แแตแฅแฐแฅ แแธแแข
<!DOCTYPE> (short for "Document Type Declaration") is an instruction that tells the web browser which version of HTML the document is using. It helps the browser render the webpage correctly. The declaration is placed at the very top of an HTML document before any other content.<!DOCTYPE> แฃแญแฉ document type แแแต แแแข แฅแ แจแแแ แแแ html type แแญแ แแ แ แญแแต html แฅแแฐ แแแ แแ แ แแแ browserแฃแฝแ แฅแแฒแซแแ แจแฐแญแแ
-browser แจแแแฝแแ Chrome, Firefox, Safari, and Edge แแธแ แฅแแฑแ HTML, CSS, and JavaScript แ แแแ interpret แแญแ แแฐแจแแแแ แแธแ
For modern HTML, the doctype declaration is very simple:
<!DOCTYPE html>
This declaration tells the browser that the document is written in HTML5, the latest version of HTML. Older versions of HTML have more complex doctype declarations, but HTML5 simplifies this to ensure compatibility and uniform rendering across browsers.
<!DOCTYPE html>
แญแ doctype แ browsereแฃแฝแ แ แแแ html5 แฅแแฐ แแ แแ แญแแแจแแ แข
HTML5 modern แจแแ doctype แแ แข แ แฐแจแแช แ แฃแ แแแ แแแข
old doctype declare แตแแจแแธแ แ แฃแ แแตแฅแฐแฅ แแธแแข
โค1
Element
An HTML element is a fundamental component of an HTML document that defines structure and content. It consists of an opening tag, content (in some cases), and a closing tag. Elements can contain text, images, links, and other content, or they can be structural, like defining headers or divisions in a webpage.
- Element แจ HTMLแ แบแ แแ part แแ
แ แฑแ แ แแตแก แถแตแต แแแญแฝแ แญแญแแ
1,opening tag
2,content ( แนแแฝแ , แแตแแฝแ , link แ แ แแแณ )
3,closing tag
Types of HTML Elements:
- Block elements: These take up the full width available (e.g., <div>, <p>, <h1>).
- Inline elements: These take up only as much width as necessary (e.g., <a>, <span>, <img>).
แจ html แ แญแแตแฝ
- Block element แจแแแ แแ width แแญแแ แแแต แแ
- Inline element แฐแ แจแฐแฐแ แ width แแบ แแแ แฆแณ แ แญแแ
What is opening tag and closing tag ?
In HTML, opening tags and closing tags are used to define the start and end of an HTML element.
1. Opening Tag:
- It marks the beginning of an element.
- It is written with the element's name inside angle brackets (
- Example:
2. Closing Tag:
- It marks the end of an element.
- It is written similarly to the opening tag, but with a forward slash (
- Example:
Together, the opening and closing tags define the content enclosed by the element:
Some HTML elements, like
โญ แ html แแตแฅ opening tag แ แ closing tag แแฐแ แแ แจ htmlแแ แแแแชแซแแ แ แ แแปแจแปแแ แแแแแแ แแ
Opening tag แจ แแแแ แแซแฐแจแ แแแฅแซแแ แแ แแญแ แแแแญแซแแ แแ
*closing tag แจแแแแ แแฐแแฐแแซแแ แแ แแซแฐแจแ
Content แ แ แแแ แจแแแแแแ แแแญ แแแ แแ แต แแ แแแตแฐแแแ แจแแแแแแ แแณแฅ แฅแ แแ แแแ แแ
แ opening แ แ แ closing tag แแซแจแ แแ แแแแ
แตแแ แแแแ opening tag elementแ แฝแ แจแแแจแ แต แฆแณ แแซแณแจแ แแ
Closing tag แแซแฐแจแ elementแ แฝแ แแซแแแ แต แฆแณ แแ
แแแณแ :-
แญแ opening tag แญแฃแแ
แญแ แฐแ closing tag แญแฃแแ
แญแแ แ แ แญ แ แ video แ แแจแแแ
แญแแปแน commentแ แฝแแ แจแณแฝ แ แณแแแ
๐๐๐๐๐๐๐๐๐๐๐๐๐๐
An HTML element is a fundamental component of an HTML document that defines structure and content. It consists of an opening tag, content (in some cases), and a closing tag. Elements can contain text, images, links, and other content, or they can be structural, like defining headers or divisions in a webpage.
<opening-tag> Content goes here </closing-tag>
- Element แจ HTMLแ แบแ แแ part แแ
แ แฑแ แ แแตแก แถแตแต แแแญแฝแ แญแญแแ
1,opening tag
2,content ( แนแแฝแ , แแตแแฝแ , link แ แ แแแณ )
3,closing tag
Types of HTML Elements:
- Block elements: These take up the full width available (e.g., <div>, <p>, <h1>).
- Inline elements: These take up only as much width as necessary (e.g., <a>, <span>, <img>).
แจ html แ แญแแตแฝ
- Block element แจแแแ แแ width แแญแแ แแแต แแ
- Inline element แฐแ แจแฐแฐแ แ width แแบ แแแ แฆแณ แ แญแแ
What is opening tag and closing tag ?
In HTML, opening tags and closing tags are used to define the start and end of an HTML element.
1. Opening Tag:
- It marks the beginning of an element.
- It is written with the element's name inside angle brackets (
< >).- Example:
<p> for a paragraph element.2. Closing Tag:
- It marks the end of an element.
- It is written similarly to the opening tag, but with a forward slash (
/) before the element's name.- Example:
</p> for the end of a paragraph element.Together, the opening and closing tags define the content enclosed by the element:
<p>This is a paragraph.</p>
Some HTML elements, like
<img /> (image) and <br /> (line break), are self-closing and do not require a closing tag.โญ แ html แแตแฅ opening tag แ แ closing tag แแฐแ แแ แจ htmlแแ แแแแชแซแแ แ แ แแปแจแปแแ แแแแแแ แแ
Opening tag แจ แแแแ แแซแฐแจแ แแแฅแซแแ แแ แแญแ แแแแญแซแแ แแ
*closing tag แจแแแแ แแฐแแฐแแซแแ แแ แแซแฐแจแ
Content แ แ แแแ แจแแแแแแ แแแญ แแแ แแ แต แแ แแแตแฐแแแ แจแแแแแแ แแณแฅ แฅแ แแ แแแ แแ
แ opening แ แ แ closing tag แแซแจแ แแ แแแแ
แตแแ แแแแ opening tag elementแ แฝแ แจแแแจแ แต แฆแณ แแซแณแจแ แแ
Closing tag แแซแฐแจแ elementแ แฝแ แแซแแแ แต แฆแณ แแ
แแแณแ :-
<p>
แญแ opening tag แญแฃแแ
<\p>
แญแ แฐแ closing tag แญแฃแแ
แญแแ แ แ แญ แ แ video แ แแจแแแ
แญแแปแน commentแ แฝแแ แจแณแฝ แ แณแแแ
๐๐๐๐๐๐๐๐๐๐๐๐๐๐
๐5โค4
HTML Headings
HTML headings are used to define headings and subheadings in a web page. There are six levels of headings, from
โญโญHtml heading แแแต แจ web page แ แฝแ title แแแแ แแแ แแแ แแ
Html heading แแแแ 6 แฐแจแ แ แแ <h1> แ แตแซ <h6> แตแจแต <h1> แตแแ แฒแแ <h6> แฐแ แ แฃแ แตแแน แ แจแแธแจแปแ แแ
HTML Heading Tags:
-
-
-
-
-
-
Example:
importance of Headings:
- SEO (Search Engine Optimization): Search engines use headings to understand the structure and content of a page, making headings important for ranking in search results.
- Accessibility: Screen readers use headings to help users navigate the content of a webpage easily.
๐https://t.me/muju_man
HTML headings are used to define headings and subheadings in a web page. There are six levels of headings, from
<h1> to <h6>. These tags help structure the content of a page, with <h1> being the highest (or most important) level of heading, and <h6> the lowest.โญโญHtml heading แแแต แจ web page แ แฝแ title แแแแ แแแ แแแ แแ
Html heading แแแแ 6 แฐแจแ แ แแ <h1> แ แตแซ <h6> แตแจแต <h1> แตแแ แฒแแ <h6> แฐแ แ แฃแ แตแแน แ แจแแธแจแปแ แแ
HTML Heading Tags:
-
<h1>: Main heading (usually used for the title of the page).-
<h2>: Subheading under <h1>.-
<h3>: Subheading under <h2>.-
<h4>: Subheading under <h3>.-
<h5>: Subheading under <h4>.-
<h6>: Subheading under <h5>.Example:
<h1>This is Heading 1</h1>
<h2>This is Heading 2</h2>
<h3>This is Heading 3</h3>
<h4>This is Heading 4</h4>
<h5>This is Heading 5</h5>
<h6>This is Heading 6</h6>
importance of Headings:
- SEO (Search Engine Optimization): Search engines use headings to understand the structure and content of a page, making headings important for ranking in search results.
- Accessibility: Screen readers use headings to help users navigate the content of a webpage easily.
๐https://t.me/muju_man
๐1
Top 10 programming languages & frameworks for beginner web developers:
1. HTML/CSS โ Basics of web structure & styling
2. JavaScript โ Adds interactivity
3. Python โ Backend & versatility
4. PHP โ Server-side scripting
5. SQL โ Database management
6. Ruby on Rails โ Easy backend framework
7. Node.js โ JavaScript backend runtime
8. React โ Popular frontend library
9. Angular โ Framework for building dynamic UIs
10. Bootstrap โ Simplifies responsive design
1. HTML/CSS โ Basics of web structure & styling
2. JavaScript โ Adds interactivity
3. Python โ Backend & versatility
4. PHP โ Server-side scripting
5. SQL โ Database management
6. Ruby on Rails โ Easy backend framework
7. Node.js โ JavaScript backend runtime
8. React โ Popular frontend library
9. Angular โ Framework for building dynamic UIs
10. Bootstrap โ Simplifies responsive design
HTML Paragraphs
โข The HTML <p> element defines a paragraph.
โข A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph
โข Example
Output:
This is a paragraph
This is another paragraph.
HTML peragraphs แแแต แฐแ แ แแต แแแญ แแ แแ แตแแแแ แจแแแ แแแ แแ
HTML <p> elenent paragraph แตแแ แฅแ แจแแแ แแแ แแ
แแแณแ :-
https://t.me/Muju_man_coding
โข The HTML <p> element defines a paragraph.
โข A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph
โข Example
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
Output:
This is a paragraph
This is another paragraph.
HTML peragraphs แแแต แฐแ แ แแต แแแญ แแ แแ แตแแแแ แจแแแ แแแ แแ
HTML <p> elenent paragraph แตแแ แฅแ แจแแแ แแแ แแ
แแแณแ :-
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
https://t.me/Muju_man_coding