SlideShare a Scribd company logo
1 of 10
block level elements in HTML:
Element Description
<address> Stores contact details.
<article> Defines article.
<aside> Shows part of an article.
<blockquote> Shows a part of article that is copied.
<canvas> Draw graphics.
<dd> Defines name in an article.
<div> Shows partition in a document.
<dl> Shows definitions and their details.
<dt> Describes term in an article.
<fieldset> Unite same elements.
<figcaption> Shows caption for the image.
<figure> Shows independent part of document.
<footer> Describes footer for a content.
<form> Allows input.
<h1>-<h6> Describes heading.
<header> Form a header segment.
<hr> Form a horizontal line.
<li> Used to display objects in listing.
<main> Displays main part of an article.
<nav> Describes routing links.
<noscript> Describes part of a content that does not
support script.
<ol> Shows lists in sort
<p> Shows a paragraph.
<pre> Defines pre-formattedtext.
<section> Sort same type of content separately.
<table> Shows table.
<tfoot> Collect footer data in table.
<ul> Displays data in un-ordered form.
<video> Defines video.
Inline elements in HTML:
Elements Description
<a> used to link pgs.
<abbr> define contraction of words.
<acronym> Kisi or word ko explain krta h
<b> Text ko mota krta h
<bdo> overrule the text direction.
<big> Text ko bara krta h
<br> Next line py jany k liye.
<button> Menu button bnany k liye.
<cite> Kisi kam k title ko display krta.
<code> Comp k code ko display krta.
<dfn> Kisi bhi definition k context ko display
krta.
<em> Kisi word ko stress krny k liay.
<i> Text ko italic krta h.
<img> Image ko define krta.
<input> Input field define krta h ta k user apna
data enter kr saky.
<kbd> Keyboardinput ko support krta h.
<label> Represents caption.
<map> Image ko define krny k liye use hota.
Provides clickable areas to users.
<object> Different objects ko web page sy link krny
k liye.
<output> Result ko show krta.
<q> Diplay quotation.
<samp> Display Sample output.
<script> Used to link to javascript code.
<select> Shows list of options to choose.
<small> Shows small text. i.e comments
<span> Text k kisi part k font ko change krta h.
<strong> Defines strong text.
<sub> Text ko normal line sy neechy display krta.
<sup> Text ko normal line sy upar display krta.
<textarea> Display text in a specific area in multiple
lines.
<time> Displays Time .
<tt> Not supported in html.5
<var> Defines variable.
Pseudo Elements in CSS:
o Syntax of pseudo element :
selector:pseudo-element{
property: value;
}
Pseudo
element
Description
::first-line Text ki first line ko style krny k liye use
hota h.
::first-letter Text k 1st
letter ko style krny k liye.
::before Current content sy pehly koi content
insert krny k liye use hota h.
::after Current content k bad koi content add
krny k liye use hota h.
::selection Content ka jo part user ny select kia hota
usy style krny k liye use hota h.
Pseudo Classes in CSS:
Pseudoclass Description
:active Selected link ko style krta h.
:checked checks input.
:disabled Disable the input box.
:empty Empty space ko show krta
:enabled Allows user to input.
:first-child Paragraph main parent k 1st
child ko style
krta h.
:first-of-
type
Parent k 1st
paragraph ko highlight krta h.
:focus Selects input element which is on focus.
:hover Clear the blurredimage when the cursor is
on it.
:in-range Kisi range k andar values input ho to style
apply hota h.
:invalid Jab invalid input ho to usy highlight krta h.
:lang Specified language main input accept krta
h.
:last-child Last paragraph ko highlight krta h.
:last-of-type Parent ki last type ko highlight krta h.
:link Links ko highlight krta h.
:not(selector
)
Jo selected paragraph nai hota usay
highlight krta h
:nth-
child(n)
Child Paragraph ki nth number of line ko
highlight krta h.
:nth-last-
child(n)
Child paragraph k last sy nth number of
line ko highlight krta h.
:nth-last-
of-type(n)
Parent ki nth last type ko highlight krta h.
:nth-of-
type(n)
Kisi 1 type of paragraph ki nth line ko
highlight krta h.
:only-of-
type
Apni type k 1 hi child ko highlight krta h.
:only-child Apny parent k ikloty child ko highlight
krta h,
:optional Optional input ko highlight krta h.
:out-of-
range
Apni range sy bahir input ho jaye to usy
highlight krta h.
:read-only User input ko sirf read kr skta h , apni taraf
sy input ni dy skta.
:read-write User input ko read bhi kr skta h apni input
bhi dy skta h.
:required Required input ko highlight krta h.
:root Document k root element ko highlight krta
h.
:target Targetedinput ko highlight krta h.
:valid Valid input k liye styling hoti h. Invalid
input ho to styling disappear ho jati h,
:visited Jo links already visit kr li hon uny
highlight krta h.
Javascript events:
JS events Description
onchange
Onclick Jab user button py click krta h to event
hota h. Jasy warning, validations etc.
Onmouseove
r
Jab user mouse ko element py lata h tab
occur hota h.
Onmouseout Jab user mouse ko element sy hatata h tab
occur hota h.
Onkeydown Jab user keyboardki kisi key ko press krta
hai tab occur hota h.
onload Jab user page ko load kr chukka hota h tab
occur hota h.
Onsubmit Jab user koi form submit krta h tab yeh
event hota h.

More Related Content

Similar to Block inline pseudo emelemts

Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
eShikshak
 

Similar to Block inline pseudo emelemts (20)

Css advanced – session 5
Css advanced – session 5Css advanced – session 5
Css advanced – session 5
 
03 HTML #burningkeyboards
03 HTML #burningkeyboards03 HTML #burningkeyboards
03 HTML #burningkeyboards
 
HTML and CSS part 2
HTML and CSS part 2HTML and CSS part 2
HTML and CSS part 2
 
Lecture2 CSS 2
Lecture2  CSS 2Lecture2  CSS 2
Lecture2 CSS 2
 
Css
CssCss
Css
 
Rapid HTML Prototyping with Bootstrap 4
Rapid HTML Prototyping with Bootstrap 4Rapid HTML Prototyping with Bootstrap 4
Rapid HTML Prototyping with Bootstrap 4
 
IT2255 Web Essentials - Unit II Web Designing
IT2255 Web Essentials - Unit II  Web DesigningIT2255 Web Essentials - Unit II  Web Designing
IT2255 Web Essentials - Unit II Web Designing
 
Introduction to HTML with syntax and tags.pptx
Introduction to HTML with syntax and tags.pptxIntroduction to HTML with syntax and tags.pptx
Introduction to HTML with syntax and tags.pptx
 
Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
 
4THseminar ppt on HTML-5.pptx
4THseminar ppt on HTML-5.pptx4THseminar ppt on HTML-5.pptx
4THseminar ppt on HTML-5.pptx
 
3. CSS
3. CSS3. CSS
3. CSS
 
Introduction to css part1
Introduction to css part1Introduction to css part1
Introduction to css part1
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
HTML5 Basics
HTML5 BasicsHTML5 Basics
HTML5 Basics
 
html-tags.docx
html-tags.docxhtml-tags.docx
html-tags.docx
 
Basic css
Basic cssBasic css
Basic css
 
Html phrase tags
Html phrase tagsHtml phrase tags
Html phrase tags
 
Advanced Views with Erector
Advanced Views with ErectorAdvanced Views with Erector
Advanced Views with Erector
 
html.pptx
html.pptxhtml.pptx
html.pptx
 

More from rimshailyas1

More from rimshailyas1 (15)

Canteen management system Documentation
Canteen management system DocumentationCanteen management system Documentation
Canteen management system Documentation
 
Lab 1
Lab 1Lab 1
Lab 1
 
Stack array
Stack arrayStack array
Stack array
 
Culture of balochistan
Culture of balochistanCulture of balochistan
Culture of balochistan
 
3d images
3d images3d images
3d images
 
3d images
3d images3d images
3d images
 
Slideshow+review+view
Slideshow+review+viewSlideshow+review+view
Slideshow+review+view
 
DVRM
DVRMDVRM
DVRM
 
Transitions animation
Transitions  animationTransitions  animation
Transitions animation
 
Types of presentation+file+home
Types of presentation+file+homeTypes of presentation+file+home
Types of presentation+file+home
 
Insert + design
Insert + designInsert + design
Insert + design
 
Determinants of fp
Determinants of fpDeterminants of fp
Determinants of fp
 
Determinants of fp in pakistan
Determinants of fp in pakistanDeterminants of fp in pakistan
Determinants of fp in pakistan
 
Nervous system
Nervous systemNervous system
Nervous system
 
Cnn
CnnCnn
Cnn
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

Block inline pseudo emelemts

  • 1. block level elements in HTML: Element Description <address> Stores contact details. <article> Defines article. <aside> Shows part of an article. <blockquote> Shows a part of article that is copied. <canvas> Draw graphics. <dd> Defines name in an article. <div> Shows partition in a document. <dl> Shows definitions and their details. <dt> Describes term in an article. <fieldset> Unite same elements. <figcaption> Shows caption for the image. <figure> Shows independent part of document. <footer> Describes footer for a content. <form> Allows input. <h1>-<h6> Describes heading.
  • 2. <header> Form a header segment. <hr> Form a horizontal line. <li> Used to display objects in listing. <main> Displays main part of an article. <nav> Describes routing links. <noscript> Describes part of a content that does not support script. <ol> Shows lists in sort <p> Shows a paragraph. <pre> Defines pre-formattedtext. <section> Sort same type of content separately. <table> Shows table. <tfoot> Collect footer data in table. <ul> Displays data in un-ordered form. <video> Defines video.
  • 3. Inline elements in HTML: Elements Description <a> used to link pgs. <abbr> define contraction of words. <acronym> Kisi or word ko explain krta h <b> Text ko mota krta h <bdo> overrule the text direction. <big> Text ko bara krta h <br> Next line py jany k liye. <button> Menu button bnany k liye. <cite> Kisi kam k title ko display krta. <code> Comp k code ko display krta. <dfn> Kisi bhi definition k context ko display krta. <em> Kisi word ko stress krny k liay. <i> Text ko italic krta h. <img> Image ko define krta.
  • 4. <input> Input field define krta h ta k user apna data enter kr saky. <kbd> Keyboardinput ko support krta h. <label> Represents caption. <map> Image ko define krny k liye use hota. Provides clickable areas to users. <object> Different objects ko web page sy link krny k liye. <output> Result ko show krta. <q> Diplay quotation. <samp> Display Sample output. <script> Used to link to javascript code. <select> Shows list of options to choose. <small> Shows small text. i.e comments <span> Text k kisi part k font ko change krta h. <strong> Defines strong text. <sub> Text ko normal line sy neechy display krta. <sup> Text ko normal line sy upar display krta. <textarea> Display text in a specific area in multiple lines.
  • 5. <time> Displays Time . <tt> Not supported in html.5 <var> Defines variable. Pseudo Elements in CSS: o Syntax of pseudo element : selector:pseudo-element{ property: value; } Pseudo element Description ::first-line Text ki first line ko style krny k liye use hota h.
  • 6. ::first-letter Text k 1st letter ko style krny k liye. ::before Current content sy pehly koi content insert krny k liye use hota h. ::after Current content k bad koi content add krny k liye use hota h. ::selection Content ka jo part user ny select kia hota usy style krny k liye use hota h. Pseudo Classes in CSS: Pseudoclass Description :active Selected link ko style krta h. :checked checks input. :disabled Disable the input box. :empty Empty space ko show krta :enabled Allows user to input. :first-child Paragraph main parent k 1st child ko style
  • 7. krta h. :first-of- type Parent k 1st paragraph ko highlight krta h. :focus Selects input element which is on focus. :hover Clear the blurredimage when the cursor is on it. :in-range Kisi range k andar values input ho to style apply hota h. :invalid Jab invalid input ho to usy highlight krta h. :lang Specified language main input accept krta h. :last-child Last paragraph ko highlight krta h. :last-of-type Parent ki last type ko highlight krta h. :link Links ko highlight krta h. :not(selector ) Jo selected paragraph nai hota usay highlight krta h :nth- child(n) Child Paragraph ki nth number of line ko highlight krta h. :nth-last- child(n) Child paragraph k last sy nth number of line ko highlight krta h.
  • 8. :nth-last- of-type(n) Parent ki nth last type ko highlight krta h. :nth-of- type(n) Kisi 1 type of paragraph ki nth line ko highlight krta h. :only-of- type Apni type k 1 hi child ko highlight krta h. :only-child Apny parent k ikloty child ko highlight krta h, :optional Optional input ko highlight krta h. :out-of- range Apni range sy bahir input ho jaye to usy highlight krta h. :read-only User input ko sirf read kr skta h , apni taraf sy input ni dy skta. :read-write User input ko read bhi kr skta h apni input bhi dy skta h. :required Required input ko highlight krta h. :root Document k root element ko highlight krta h. :target Targetedinput ko highlight krta h. :valid Valid input k liye styling hoti h. Invalid input ho to styling disappear ho jati h,
  • 9. :visited Jo links already visit kr li hon uny highlight krta h. Javascript events: JS events Description onchange Onclick Jab user button py click krta h to event hota h. Jasy warning, validations etc. Onmouseove r Jab user mouse ko element py lata h tab occur hota h. Onmouseout Jab user mouse ko element sy hatata h tab occur hota h. Onkeydown Jab user keyboardki kisi key ko press krta hai tab occur hota h. onload Jab user page ko load kr chukka hota h tab occur hota h. Onsubmit Jab user koi form submit krta h tab yeh