SlideShare a Scribd company logo
Adding attributes to elements
• An attribute is a name=”value” pair in
which name is unique within the tag and
value is always enclosed within either
single quotes or double quotes.
• <div id="main" class='mainContent'></div>
Working with Boolean attributes
• Some attributes are Boolean attributes, which means that the mere
presence of the attribute indicates that an option is set.
• eg -
checked Used with the check box and option button to indicate
selection
■ selected Used to indicate which option is selected in a drop-down or
select list
■ disabled Used to disable input, text area, button, select, option, or opt
group
■ readonly Used to prevent the user from typing data into a text box,
password, or text area
<input type="checkbox" name="fruit" value="Apple" checked />
HTML5 global attribute reference
• ■ accesskey Enables you to either specify a shortcut key to which to jump or to set
• focus to an element. As a rule, you shouldn’t use this because it can cause problems
• with other technologies.
• ■ class Used with CSS to specify one or more class names for an element.
• ■ contenteditable Specifies that the content within the tag can be edited.
• ■ contextmenu User can right-click an element to display a menu. At the time of this
• writing, no browser supports this attribute.
• ■ dir Enables you to specify left-to-right or right-to-left text direction for the content
• in an element.
• ■ draggable Specifies whether an element is draggable.
• ■ dropzone Enables you to specify the behavior of the dragged data when it’s
• dropped. Data can be copied, moved, or linked.
• ■ hidden Specifies that an element is not relevant.
• ■ id Specifies a unique id for an element.
• ■ lang Specifies the language (English, French, German, and so on) of the element’s
• content.
• ■ spellcheck Used with the lang attribute to enable you to indicate whether the element
• is to have its spelling and grammar checked.
• ■ style Specifies an inline CSS style for the element.
• ■ tabindex Sets the tabbing order of the element.
• ■ title Provides extra information about the element.
• You’ll see many examples of these global attributes in this book.
Working with self-closing tags
• A self-closing tag is a beginning tag and
an ending tag in one.
• <br />
Working with void elements
• <br> Represents a line break
• ■ <col> Defines the properties of one or
more columns within a <colgroup>
element
• ■ <hr> Specifies a thematic change in
content
• <img> Defines an image
• ■ <meta> Defines metadata that describes
the HTML document
Adding expando attributes
• Expando attributes are attributes that you
define. Expando attributes are also known
as author-defined attributes or simply as
custom attributes.
• Adding comments
• Only Internet Explorer recognizes
conditional comments,
• <!--[if gte IE 9]> <html class="no-js"
lang="en"> <![endif]-->
<title>
• Displays in the browser toolbar
• Provides the default name for the page
when it is added to favorites
• Displays the title when a search engine
displays the page in the search results
Using special characters (HTML
entities)
• Display Entity Name Entity Number Description
• & &amp; &#38; Ampersand
• > &gt; &#62; Greater-than sign
• < &lt; &#60; Less-than sign
• “ &quot; &#34; Double quotation
• © &copy; &#169; Copyright
• ® &reg; &#174; Registered trademark
• ™ &trade; &#8482; Trademark
• &nbsp; $#160; Nonbreaking space

More Related Content

What's hot

Types of Selectors (HTML)
Types of Selectors (HTML)Types of Selectors (HTML)
Types of Selectors (HTML)
Deanne Alcalde
 
An Introduction to CSS
An Introduction to CSSAn Introduction to CSS
An Introduction to CSS
John Catterfeld
 
css.ppt
css.pptcss.ppt
css.ppt
bhasula
 
Unit iv xml dom
Unit iv xml domUnit iv xml dom
Unit iv xml dom
smitha273566
 
Strategies For Conditional Content
Strategies For Conditional ContentStrategies For Conditional Content
Strategies For Conditional Content
Scriptorium Publishing
 
An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)
Ardee Aram
 
Introduction to Cascading Style Sheets
Introduction to Cascading Style SheetsIntroduction to Cascading Style Sheets
Introduction to Cascading Style Sheets
Tushar Joshi
 
[OOP - Lec 04,05] Basic Building Blocks of OOP
[OOP - Lec 04,05] Basic Building Blocks of OOP[OOP - Lec 04,05] Basic Building Blocks of OOP
[OOP - Lec 04,05] Basic Building Blocks of OOP
Muhammad Hammad Waseem
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
One97 Communications Limited
 
CSS
CSSCSS
The right way coding for ios app development
The right way coding for ios app developmentThe right way coding for ios app development
The right way coding for ios app development
Ketan Raval
 
Cascading style sheets
Cascading style sheetsCascading style sheets
Cascading style sheets
smitha273566
 
CSS 4 - What's coming up
CSS 4 - What's coming upCSS 4 - What's coming up
CSS 4 - What's coming up
Diego Eis
 
Html (1)
Html (1)Html (1)
Html (1)
smitha273566
 
[OOP - Lec 06] Classes and Objects
[OOP - Lec 06] Classes and Objects[OOP - Lec 06] Classes and Objects
[OOP - Lec 06] Classes and Objects
Muhammad Hammad Waseem
 

What's hot (16)

Types of Selectors (HTML)
Types of Selectors (HTML)Types of Selectors (HTML)
Types of Selectors (HTML)
 
An Introduction to CSS
An Introduction to CSSAn Introduction to CSS
An Introduction to CSS
 
css.ppt
css.pptcss.ppt
css.ppt
 
Unit iv xml dom
Unit iv xml domUnit iv xml dom
Unit iv xml dom
 
Strategies For Conditional Content
Strategies For Conditional ContentStrategies For Conditional Content
Strategies For Conditional Content
 
An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)
 
Introduction to Cascading Style Sheets
Introduction to Cascading Style SheetsIntroduction to Cascading Style Sheets
Introduction to Cascading Style Sheets
 
[OOP - Lec 04,05] Basic Building Blocks of OOP
[OOP - Lec 04,05] Basic Building Blocks of OOP[OOP - Lec 04,05] Basic Building Blocks of OOP
[OOP - Lec 04,05] Basic Building Blocks of OOP
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
CSS
CSSCSS
CSS
 
The right way coding for ios app development
The right way coding for ios app developmentThe right way coding for ios app development
The right way coding for ios app development
 
Cascading style sheets
Cascading style sheetsCascading style sheets
Cascading style sheets
 
CSS 4 - What's coming up
CSS 4 - What's coming upCSS 4 - What's coming up
CSS 4 - What's coming up
 
Html (1)
Html (1)Html (1)
Html (1)
 
[OOP - Lec 06] Classes and Objects
[OOP - Lec 06] Classes and Objects[OOP - Lec 06] Classes and Objects
[OOP - Lec 06] Classes and Objects
 
Css tutorial
Css tutorialCss tutorial
Css tutorial
 

Similar to Lesson 1

Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
Himanshu Pathak
 
Web Development - Lecture 4
Web Development - Lecture 4Web Development - Lecture 4
Web Development - Lecture 4
Syed Shahzaib Sohail
 
Web forms and html (lect 1)
Web forms and html (lect 1)Web forms and html (lect 1)
Web forms and html (lect 1)
Salman Memon
 
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
Kalyani Government Engineering College
 
Lab#1 - Front End Development
Lab#1 - Front End DevelopmentLab#1 - Front End Development
Lab#1 - Front End Development
Walid Ashraf
 
Html
HtmlHtml
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
Toni Kolev
 
Html5 attributes
Html5  attributesHtml5  attributes
Html5 attributes
AbhishekMondal42
 
Global Attributes Window Event Attributes Form Events Ujjwal matoliya.pptx
Global Attributes Window Event Attributes Form Events Ujjwal matoliya.pptxGlobal Attributes Window Event Attributes Form Events Ujjwal matoliya.pptx
Global Attributes Window Event Attributes Form Events Ujjwal matoliya.pptx
ujjwalmatoliya
 
1. Advanced Web Designing (12th IT) (1).pdf
1. Advanced Web Designing (12th IT) (1).pdf1. Advanced Web Designing (12th IT) (1).pdf
1. Advanced Web Designing (12th IT) (1).pdf
AAFREEN SHAIKH
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
Predhin Sapru
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Seble Nigussie
 
Block and inline elements in HTML
Block and inline elements in HTMLBlock and inline elements in HTML
Block and inline elements in HTML
Pradipta Poudel
 
Ifi7174 lesson2
Ifi7174 lesson2Ifi7174 lesson2
Ifi7174 lesson2
Sónia
 
Castro Chapter 3
Castro Chapter 3Castro Chapter 3
Castro Chapter 3Jeff Byrnes
 

Similar to Lesson 1 (20)

Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Web Development - Lecture 4
Web Development - Lecture 4Web Development - Lecture 4
Web Development - Lecture 4
 
Web forms and html (lect 1)
Web forms and html (lect 1)Web forms and html (lect 1)
Web forms and html (lect 1)
 
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
 
Batch -25 PPT.pptx
Batch -25 PPT.pptxBatch -25 PPT.pptx
Batch -25 PPT.pptx
 
Lab#1 - Front End Development
Lab#1 - Front End DevelopmentLab#1 - Front End Development
Lab#1 - Front End Development
 
Html
HtmlHtml
Html
 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
 
Html5 attributes
Html5  attributesHtml5  attributes
Html5 attributes
 
Global Attributes Window Event Attributes Form Events Ujjwal matoliya.pptx
Global Attributes Window Event Attributes Form Events Ujjwal matoliya.pptxGlobal Attributes Window Event Attributes Form Events Ujjwal matoliya.pptx
Global Attributes Window Event Attributes Form Events Ujjwal matoliya.pptx
 
1. Advanced Web Designing (12th IT) (1).pdf
1. Advanced Web Designing (12th IT) (1).pdf1. Advanced Web Designing (12th IT) (1).pdf
1. Advanced Web Designing (12th IT) (1).pdf
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Block and inline elements in HTML
Block and inline elements in HTMLBlock and inline elements in HTML
Block and inline elements in HTML
 
Ifi7174 lesson2
Ifi7174 lesson2Ifi7174 lesson2
Ifi7174 lesson2
 
Castro Chapter 3
Castro Chapter 3Castro Chapter 3
Castro Chapter 3
 
Basic-CSS-tutorial
Basic-CSS-tutorialBasic-CSS-tutorial
Basic-CSS-tutorial
 
Basic-CSS-tutorial
Basic-CSS-tutorialBasic-CSS-tutorial
Basic-CSS-tutorial
 
Basic css-tutorial
Basic css-tutorialBasic css-tutorial
Basic css-tutorial
 

More from Maneesha Caldera

An Overview of Social media analatics
An Overview of Social media analaticsAn Overview of Social media analatics
An Overview of Social media analatics
Maneesha Caldera
 
What is the programming language you need to learn
What is the programming language you need to learnWhat is the programming language you need to learn
What is the programming language you need to learn
Maneesha Caldera
 
Java if else condition - powerpoint persentation
Java if else condition - powerpoint persentationJava if else condition - powerpoint persentation
Java if else condition - powerpoint persentation
Maneesha Caldera
 
Mobile cloud computing - Introduction
Mobile cloud computing - IntroductionMobile cloud computing - Introduction
Mobile cloud computing - Introduction
Maneesha Caldera
 
Android - Listview with source code
Android - Listview with source codeAndroid - Listview with source code
Android - Listview with source code
Maneesha Caldera
 
Java arrays
Java   arraysJava   arrays
Java arrays
Maneesha Caldera
 
React js Introduction
React js IntroductionReact js Introduction
React js Introduction
Maneesha Caldera
 
Android - Values folder
Android - Values folderAndroid - Values folder
Android - Values folder
Maneesha Caldera
 
Machine Learning - Supervised learning
Machine Learning - Supervised learningMachine Learning - Supervised learning
Machine Learning - Supervised learning
Maneesha Caldera
 
C# - Windows Forms - Creating exe file
C# - Windows Forms - Creating exe fileC# - Windows Forms - Creating exe file
C# - Windows Forms - Creating exe file
Maneesha Caldera
 
C# Memory management
C# Memory managementC# Memory management
C# Memory management
Maneesha Caldera
 
C# Strings
C# StringsC# Strings
C# Strings
Maneesha Caldera
 
C# - Windows forms - lesson 2
C# - Windows forms -  lesson 2C# - Windows forms -  lesson 2
C# - Windows forms - lesson 2
Maneesha Caldera
 
C# session 01
C# session 01C# session 01
C# session 01
Maneesha Caldera
 
Node
NodeNode
Lesson 2
Lesson 2Lesson 2
Html 2
Html 2Html 2
Html 1
Html 1Html 1
Java arrays
Java arraysJava arrays
Java arrays
Maneesha Caldera
 

More from Maneesha Caldera (20)

An Overview of Social media analatics
An Overview of Social media analaticsAn Overview of Social media analatics
An Overview of Social media analatics
 
What is the programming language you need to learn
What is the programming language you need to learnWhat is the programming language you need to learn
What is the programming language you need to learn
 
Presentation
PresentationPresentation
Presentation
 
Java if else condition - powerpoint persentation
Java if else condition - powerpoint persentationJava if else condition - powerpoint persentation
Java if else condition - powerpoint persentation
 
Mobile cloud computing - Introduction
Mobile cloud computing - IntroductionMobile cloud computing - Introduction
Mobile cloud computing - Introduction
 
Android - Listview with source code
Android - Listview with source codeAndroid - Listview with source code
Android - Listview with source code
 
Java arrays
Java   arraysJava   arrays
Java arrays
 
React js Introduction
React js IntroductionReact js Introduction
React js Introduction
 
Android - Values folder
Android - Values folderAndroid - Values folder
Android - Values folder
 
Machine Learning - Supervised learning
Machine Learning - Supervised learningMachine Learning - Supervised learning
Machine Learning - Supervised learning
 
C# - Windows Forms - Creating exe file
C# - Windows Forms - Creating exe fileC# - Windows Forms - Creating exe file
C# - Windows Forms - Creating exe file
 
C# Memory management
C# Memory managementC# Memory management
C# Memory management
 
C# Strings
C# StringsC# Strings
C# Strings
 
C# - Windows forms - lesson 2
C# - Windows forms -  lesson 2C# - Windows forms -  lesson 2
C# - Windows forms - lesson 2
 
C# session 01
C# session 01C# session 01
C# session 01
 
Node
NodeNode
Node
 
Lesson 2
Lesson 2Lesson 2
Lesson 2
 
Html 2
Html 2Html 2
Html 2
 
Html 1
Html 1Html 1
Html 1
 
Java arrays
Java arraysJava arrays
Java arrays
 

Recently uploaded

When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 

Recently uploaded (20)

When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 

Lesson 1

  • 2. • An attribute is a name=”value” pair in which name is unique within the tag and value is always enclosed within either single quotes or double quotes. • <div id="main" class='mainContent'></div>
  • 3. Working with Boolean attributes • Some attributes are Boolean attributes, which means that the mere presence of the attribute indicates that an option is set. • eg - checked Used with the check box and option button to indicate selection ■ selected Used to indicate which option is selected in a drop-down or select list ■ disabled Used to disable input, text area, button, select, option, or opt group ■ readonly Used to prevent the user from typing data into a text box, password, or text area <input type="checkbox" name="fruit" value="Apple" checked />
  • 4. HTML5 global attribute reference • ■ accesskey Enables you to either specify a shortcut key to which to jump or to set • focus to an element. As a rule, you shouldn’t use this because it can cause problems • with other technologies. • ■ class Used with CSS to specify one or more class names for an element. • ■ contenteditable Specifies that the content within the tag can be edited. • ■ contextmenu User can right-click an element to display a menu. At the time of this • writing, no browser supports this attribute. • ■ dir Enables you to specify left-to-right or right-to-left text direction for the content • in an element. • ■ draggable Specifies whether an element is draggable. • ■ dropzone Enables you to specify the behavior of the dragged data when it’s • dropped. Data can be copied, moved, or linked. • ■ hidden Specifies that an element is not relevant. • ■ id Specifies a unique id for an element. • ■ lang Specifies the language (English, French, German, and so on) of the element’s • content. • ■ spellcheck Used with the lang attribute to enable you to indicate whether the element • is to have its spelling and grammar checked. • ■ style Specifies an inline CSS style for the element. • ■ tabindex Sets the tabbing order of the element. • ■ title Provides extra information about the element. • You’ll see many examples of these global attributes in this book.
  • 5. Working with self-closing tags • A self-closing tag is a beginning tag and an ending tag in one. • <br />
  • 6. Working with void elements • <br> Represents a line break • ■ <col> Defines the properties of one or more columns within a <colgroup> element • ■ <hr> Specifies a thematic change in content • <img> Defines an image • ■ <meta> Defines metadata that describes the HTML document
  • 7. Adding expando attributes • Expando attributes are attributes that you define. Expando attributes are also known as author-defined attributes or simply as custom attributes.
  • 8. • Adding comments • Only Internet Explorer recognizes conditional comments, • <!--[if gte IE 9]> <html class="no-js" lang="en"> <![endif]-->
  • 9. <title> • Displays in the browser toolbar • Provides the default name for the page when it is added to favorites • Displays the title when a search engine displays the page in the search results
  • 10. Using special characters (HTML entities) • Display Entity Name Entity Number Description • & &amp; &#38; Ampersand • > &gt; &#62; Greater-than sign • < &lt; &#60; Less-than sign • “ &quot; &#34; Double quotation • © &copy; &#169; Copyright • ® &reg; &#174; Registered trademark • ™ &trade; &#8482; Trademark • &nbsp; $#160; Nonbreaking space