SlideShare a Scribd company logo
1 of 10
HTML Basics 1
1
AllanWicks2015
Workshop Description
HTML Basics Part 1: The workshop facilitator will introduce participants to the basic building
blocks of HTML. Elements such as page framework and individual items will be introduced. The
goal is to have participants identify the parts of an HTML document. Understanding basic HTML
elements will allow instructors troubleshooting ability with their D2L pages.
What is HTML?
 HTML stands for Hyper Text Markup Language
 HTML is a set of tags for describing (marking up) web documents (web pages).
 Each HTML tag defines specific appearance or function of document content
Tag Examples:
<em> to show text emphasis
<p> define a paragraph of text
<a> represents a hyperlink (anchor element)
<img> embeds an image in an HTML document
HTML Tags
Tags are the building blocks of an HTML document.
Tags are keywords surrounded by angle brackets. <center>
 HTML tags are commonly in pairs <p> and </p>
 The first tag in a pair is the opening tag <p>
 The second tag or closing tag is written with a forward slash before the tag
name </p>
 An element usually has an opening and closing tag. (There are a few
exceptions.)
<tagname>content</tagname>
HTML Tag Resources
A basic list of HTML tags can be found at http://abt.cm/1Dlxdqb
An HTML 5 list can be found at http://abt.cm/1JZ80us
HTML Basics 1
2
AllanWicks2015
Parts of an HTML document
 The DOCTYPE declaration defines the document type to be HTML
 The text & tags between <html> and </html> define an HTML document
 The text between <head> and </head> provides information about the document
 The text between <title> and </title> provides a title for the document
 The text between <body> and </body> describes the visible page content
 The text between <h1> and </h1> defines a heading
 The text between <p> and </p> defines a paragraph
Parts of an HTML document in HTML
HTML Basics 1
3
AllanWicks2015
The HTML document as it appears in a browser
HTML Document in D2L
Note that the parts of a D2L HTML documentfollow the same structure.
HTML Basics 1
4
AllanWicks2015
Tag Nesting
Notice that tags pairs appear nested in relation to other nested pairs as in the structure above.
<html>
<head>
<title>
</title>
</head>
<body>
<h1> </h1>
<p> </p>
</body>
</html>
HTML Basics 1
5
AllanWicks2015
HTML Tag Activity - basic tags
Open the resource http://htmledit.squarefree.com/
 Note: This is a real-time HTML editor. The data is entered into the top
section and the results appear below.
1. In the top section of this page, delete all of the text, Look at the bottom
section of the page (it should appear empty)
2. In the top section of this page, type
This is a Page TitleParagraph HeadingThis is a simple sentence. HTML is a
markup language. This text is a paragraph.
3. Look at the bottom section (it appears exactly as the top section)
4. Insert title tags as below.
<title>This is a Page Title</title> Paragraph HeadingThis is a simple sentence.
HTML is a markup language. This text is a paragraph.
5. In the bottom frame the title text should disappear.
6. Insert paragraph tags as below.
<title>This is a Page Title</title> Paragraph Heading<p>This is a simple
sentence. HTML is a markup language. This text is a paragraph. </p>
7. Not much of a difference as the text is included in one paragraph
8. Insert strong tags as below.
<title>This is a Page Title</title>Paragraph Heading<p>This is a simple
sentence. <strong>HTML is a markup language. </strong> This text is a
paragraph.</p>
9. The sentence HTML is a markup language. Should appear bold.
10.Insert em tags and h2 as below. (emphasis & heading)
<title>This is a Page Title</title><h2>Paragraph Heading</h2><p><em>This is
a simple sentence. </em> <strong>HTML is a markup language. </strong>
This text is a paragraph.</p>
11.This is a simple sentence. Should appear italicized.
12.Close the browser
HTML Basics 1
6
AllanWicks2015
HTML Tag Activity - more tags
Open the resource
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_default
Note: This is a real-time HTML sandbox editor. The data is entered into the left
section and the results appear on the right.
1. The basic structure of an HTML document appears in on the left.
2. Change the Page title to My Web Page
3. Click on the button See Result>>
4. Note: Nothing occurs to the result as the title appears in the browser
title bar
5. In the left panel, click within the <h1> and </h1> tags
6. Change the text to My First Heading
7. Click on the button See Result>>
8. Note: the heading on the right side is changed
9. In the left panel, click after the </h1> tag
10.Press the Enter key
11.Type <h2>This is a sub-heading</h2>
12.Click on the button See Result>>
13.Note: a sub-heading appears
14.In the left panel, copy the line <p>This is a paragraph. </p>
15.Click after the </p> tag
16.Press Enter
17.Paste the copied content here
18.Click on the button See Result>>
19.Note: a paragraph appears here
HTML Basics 1
7
AllanWicks2015
Attributes
Attributes provide additional information about HTML tags.
Attributes are normally stated in the opening tag.
Three key attributes are size, src and href.
The anchor tag and the href attribute
 The <a> tag defines a hyperlink.
<a> </a>
 It has an attribute href
<a href=""> </a>
 The URL or web address is inserted in between the quotation marks
<a href="http://www.cbc.ca"> </a>
 The visible text is inserted in between the angled brackets > <
<a href="http://www.cbc.ca">Visit CBC Online!</a>
HTML Basics 1
8
AllanWicks2015
The image tag and attributes
 The <img> tag defines a hyperlink.
<img> </img>
 It has an attribute src
<img src="">
 The file name is inserted in between the quotation marks.
<img src="smileyface.jpg">
 Height and width attributes are added between the “ and the >
<img src="smileyface.jpg" height="42" width="42">
HTML Basics 1
9
AllanWicks2015
Opening the HTML Editor in D2L
1. Open your Sandbox course on D2L (your name)
2. Click on CONTENT (in the navigation bar)
3. Click on the New button
4. Click Create a File
5. In the bottom right corner of the editor, click on the HTML
Source Editor icon
6. The HTML Source Editor opens
7. Now what?
8. Insert HTML tags, attributes and documentdata
9. Click on Save
Possibly get some help from:
HTML Snippets Generator http://www.blindtextgenerator.com/snippets
W3schools HTML snippets http://www.w3schools.com/html/html_basic.asp
HTML code Generator http://www.quackit.com/html/html_generators/html_code_generator.cfm
HTML Basics 1
10
AllanWicks2015
Excellent Basic HTML resources
HTML Tags listing http://www.quackit.com/html_5/tags
W3schools http://www.w3schools.com/html/html_intro.asp
Web Source HTML codes http://www.web-source.net/html_codes_chart.htm#.VOr-yU0cS-U
Lynda.com course HTML Essential Training with James Williamson
The QuackIt online HTML Editor http://www.quackit.com/html/online-html-editor/
Realtime HTML editor http://htmledit.squarefree.com/
Yet another online real-time HTML editor http://www.onlinehtmleditor.net/

More Related Content

What's hot (11)

Html basics
Html basicsHtml basics
Html basics
 
Diva
DivaDiva
Diva
 
Html basics
Html basicsHtml basics
Html basics
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
Css
CssCss
Css
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
 
Presentation html
Presentation   htmlPresentation   html
Presentation html
 
Summary of-xhtml-basics
Summary of-xhtml-basicsSummary of-xhtml-basics
Summary of-xhtml-basics
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup Language
 
Html5 attributes
Html5  attributesHtml5  attributes
Html5 attributes
 

Viewers also liked

We Are Museums 2014 workshop by Dynamika Ekspozycji (MIK) Materials
We Are Museums 2014 workshop by Dynamika Ekspozycji (MIK) MaterialsWe Are Museums 2014 workshop by Dynamika Ekspozycji (MIK) Materials
We Are Museums 2014 workshop by Dynamika Ekspozycji (MIK) MaterialsMałopolski Instytut Kultury
 
Step 6 Supplementary Guidance Note - Workshop Exercises
Step 6 Supplementary Guidance Note - Workshop ExercisesStep 6 Supplementary Guidance Note - Workshop Exercises
Step 6 Supplementary Guidance Note - Workshop ExercisesPMSD Roadmap
 
Making intranets work (for communicators)
Making intranets work (for communicators)Making intranets work (for communicators)
Making intranets work (for communicators)James Robertson
 
Arab EE Agenda EN
Arab  EE Agenda ENArab  EE Agenda EN
Arab EE Agenda ENRCREEE
 
Safety guidelines by ec 16.4 template - leadrship workshop short-duration r 2
Safety guidelines by ec   16.4 template - leadrship workshop short-duration r 2Safety guidelines by ec   16.4 template - leadrship workshop short-duration r 2
Safety guidelines by ec 16.4 template - leadrship workshop short-duration r 2Mumbai Hiker
 
Invitasjon til fds workshop 2017
Invitasjon til fds workshop 2017Invitasjon til fds workshop 2017
Invitasjon til fds workshop 2017Erlend Hansen
 
Workshop6 pump-assy
Workshop6 pump-assyWorkshop6 pump-assy
Workshop6 pump-assymmd110
 
05 writers workshop v001 (full)
05 writers workshop v001 (full)05 writers workshop v001 (full)
05 writers workshop v001 (full)cgwilson47
 
Slow food korea taste workshop for foreigner 2015 NOV 20
Slow food korea taste workshop for foreigner 2015 NOV 20Slow food korea taste workshop for foreigner 2015 NOV 20
Slow food korea taste workshop for foreigner 2015 NOV 20성훈 김
 
Tla workshop summary jakarta 6 8 dec 2016-final
Tla workshop summary jakarta 6 8 dec 2016-finalTla workshop summary jakarta 6 8 dec 2016-final
Tla workshop summary jakarta 6 8 dec 2016-finalThành Nguyễn
 
Planning workshop report final 24 nov
Planning workshop report final 24 novPlanning workshop report final 24 nov
Planning workshop report final 24 novThành Nguyễn
 
TV Evolution: IPTV, Hybrid TV and Over The Top (Internet) TV
TV Evolution: IPTV, Hybrid TV and Over The Top (Internet) TVTV Evolution: IPTV, Hybrid TV and Over The Top (Internet) TV
TV Evolution: IPTV, Hybrid TV and Over The Top (Internet) TVAlan Quayle
 
Reading workshop structure
Reading workshop structureReading workshop structure
Reading workshop structureJennifer Evans
 
Cloud Computing 101 Workshop issue 1
Cloud Computing 101 Workshop issue 1Cloud Computing 101 Workshop issue 1
Cloud Computing 101 Workshop issue 1Alan Quayle
 
Scrum sprint structure workshop by Nermina Durmić
Scrum sprint structure workshop by Nermina DurmićScrum sprint structure workshop by Nermina Durmić
Scrum sprint structure workshop by Nermina DurmićBosnia Agile
 
Practical co design guidance-workshop lessons
Practical co design guidance-workshop lessonsPractical co design guidance-workshop lessons
Practical co design guidance-workshop lessonsMark Hicks
 

Viewers also liked (20)

We Are Museums 2014 workshop by Dynamika Ekspozycji (MIK) Materials
We Are Museums 2014 workshop by Dynamika Ekspozycji (MIK) MaterialsWe Are Museums 2014 workshop by Dynamika Ekspozycji (MIK) Materials
We Are Museums 2014 workshop by Dynamika Ekspozycji (MIK) Materials
 
Step 6 Supplementary Guidance Note - Workshop Exercises
Step 6 Supplementary Guidance Note - Workshop ExercisesStep 6 Supplementary Guidance Note - Workshop Exercises
Step 6 Supplementary Guidance Note - Workshop Exercises
 
Making intranets work (for communicators)
Making intranets work (for communicators)Making intranets work (for communicators)
Making intranets work (for communicators)
 
Arab EE Agenda EN
Arab  EE Agenda ENArab  EE Agenda EN
Arab EE Agenda EN
 
Athens co creation workshop
Athens  co creation  workshopAthens  co creation  workshop
Athens co creation workshop
 
Safety guidelines by ec 16.4 template - leadrship workshop short-duration r 2
Safety guidelines by ec   16.4 template - leadrship workshop short-duration r 2Safety guidelines by ec   16.4 template - leadrship workshop short-duration r 2
Safety guidelines by ec 16.4 template - leadrship workshop short-duration r 2
 
Workshop on Supporting the international role of Parliaments and representati...
Workshop on Supporting the international role of Parliaments and representati...Workshop on Supporting the international role of Parliaments and representati...
Workshop on Supporting the international role of Parliaments and representati...
 
Invitasjon til fds workshop 2017
Invitasjon til fds workshop 2017Invitasjon til fds workshop 2017
Invitasjon til fds workshop 2017
 
Breastfeeding Workshop Plan
Breastfeeding Workshop PlanBreastfeeding Workshop Plan
Breastfeeding Workshop Plan
 
Workshop6 pump-assy
Workshop6 pump-assyWorkshop6 pump-assy
Workshop6 pump-assy
 
05 writers workshop v001 (full)
05 writers workshop v001 (full)05 writers workshop v001 (full)
05 writers workshop v001 (full)
 
Slow food korea taste workshop for foreigner 2015 NOV 20
Slow food korea taste workshop for foreigner 2015 NOV 20Slow food korea taste workshop for foreigner 2015 NOV 20
Slow food korea taste workshop for foreigner 2015 NOV 20
 
Tla workshop summary jakarta 6 8 dec 2016-final
Tla workshop summary jakarta 6 8 dec 2016-finalTla workshop summary jakarta 6 8 dec 2016-final
Tla workshop summary jakarta 6 8 dec 2016-final
 
Workshop
WorkshopWorkshop
Workshop
 
Planning workshop report final 24 nov
Planning workshop report final 24 novPlanning workshop report final 24 nov
Planning workshop report final 24 nov
 
TV Evolution: IPTV, Hybrid TV and Over The Top (Internet) TV
TV Evolution: IPTV, Hybrid TV and Over The Top (Internet) TVTV Evolution: IPTV, Hybrid TV and Over The Top (Internet) TV
TV Evolution: IPTV, Hybrid TV and Over The Top (Internet) TV
 
Reading workshop structure
Reading workshop structureReading workshop structure
Reading workshop structure
 
Cloud Computing 101 Workshop issue 1
Cloud Computing 101 Workshop issue 1Cloud Computing 101 Workshop issue 1
Cloud Computing 101 Workshop issue 1
 
Scrum sprint structure workshop by Nermina Durmić
Scrum sprint structure workshop by Nermina DurmićScrum sprint structure workshop by Nermina Durmić
Scrum sprint structure workshop by Nermina Durmić
 
Practical co design guidance-workshop lessons
Practical co design guidance-workshop lessonsPractical co design guidance-workshop lessons
Practical co design guidance-workshop lessons
 

Similar to HTML Basics 1 workshop

Similar to HTML Basics 1 workshop (20)

HTML Basics 1 workshop
HTML Basics 1 workshopHTML Basics 1 workshop
HTML Basics 1 workshop
 
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
 
HTML Presentation
HTML Presentation HTML Presentation
HTML Presentation
 
htmlnotes-180924151434.pdf dafdkzndsvkdvdd
htmlnotes-180924151434.pdf dafdkzndsvkdvddhtmlnotes-180924151434.pdf dafdkzndsvkdvdd
htmlnotes-180924151434.pdf dafdkzndsvkdvdd
 
htmlnotes Which tells about all the basic
htmlnotes Which tells about all the basichtmlnotes Which tells about all the basic
htmlnotes Which tells about all the basic
 
Html notes
Html notesHtml notes
Html notes
 
Html
HtmlHtml
Html
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Introduction to Html
Introduction to HtmlIntroduction to Html
Introduction to Html
 
Html example
Html exampleHtml example
Html example
 
If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
Html basic file
Html basic fileHtml basic file
Html basic file
 
Html basics
Html basicsHtml basics
Html basics
 
Html BASICS
Html BASICSHtml BASICS
Html BASICS
 
Html basics 1
Html basics 1Html basics 1
Html basics 1
 
Html basics
Html basicsHtml basics
Html basics
 

More from John Allan

Google Earth BCTEAL2023
Google Earth BCTEAL2023Google Earth BCTEAL2023
Google Earth BCTEAL2023John Allan
 
ChatGPT Prompt Tips
ChatGPT Prompt TipsChatGPT Prompt Tips
ChatGPT Prompt TipsJohn Allan
 
Repurposing H5Ps
Repurposing H5PsRepurposing H5Ps
Repurposing H5PsJohn Allan
 
Moodle Accessibility Tools
Moodle Accessibility ToolsMoodle Accessibility Tools
Moodle Accessibility ToolsJohn Allan
 
Google Earth Voyager How To
Google Earth Voyager How ToGoogle Earth Voyager How To
Google Earth Voyager How ToJohn Allan
 
Playing Geoguessr
Playing GeoguessrPlaying Geoguessr
Playing GeoguessrJohn Allan
 
How-T0 Immersive reader Office365
How-T0 Immersive reader Office365How-T0 Immersive reader Office365
How-T0 Immersive reader Office365John Allan
 
How To Microsoft Immersive Reader for Word2019
How To Microsoft Immersive Reader for Word2019How To Microsoft Immersive Reader for Word2019
How To Microsoft Immersive Reader for Word2019John Allan
 
Xreading Teacher Start up
Xreading Teacher Start upXreading Teacher Start up
Xreading Teacher Start upJohn Allan
 
H5P Interactive Book Overview
H5P Interactive Book OverviewH5P Interactive Book Overview
H5P Interactive Book OverviewJohn Allan
 
H5P Reuse Feature with LUMI
H5P Reuse Feature with LUMIH5P Reuse Feature with LUMI
H5P Reuse Feature with LUMIJohn Allan
 
H5P Structure Strip Tool with LUMI
H5P Structure Strip Tool with LUMIH5P Structure Strip Tool with LUMI
H5P Structure Strip Tool with LUMIJohn Allan
 
H5P Dictation Tool LUMI
H5P Dictation Tool LUMIH5P Dictation Tool LUMI
H5P Dictation Tool LUMIJohn Allan
 
H5P Sort Paragraph using LUMI
H5P Sort Paragraph using LUMIH5P Sort Paragraph using LUMI
H5P Sort Paragraph using LUMIJohn Allan
 
Practice Accessibility Worksheet
Practice Accessibility WorksheetPractice Accessibility Worksheet
Practice Accessibility WorksheetJohn Allan
 
Accessibility worksheet
Accessibility worksheetAccessibility worksheet
Accessibility worksheetJohn Allan
 
Qatar University Conference 2021 Interactive video W/ H5P Slides
Qatar University Conference 2021 Interactive video W/ H5P SlidesQatar University Conference 2021 Interactive video W/ H5P Slides
Qatar University Conference 2021 Interactive video W/ H5P SlidesJohn Allan
 
Video Editing Basics for Teachers
Video Editing Basics for TeachersVideo Editing Basics for Teachers
Video Editing Basics for TeachersJohn Allan
 
Audio Editing Basics with Audacity 2021
Audio Editing Basics with Audacity 2021Audio Editing Basics with Audacity 2021
Audio Editing Basics with Audacity 2021John Allan
 

More from John Allan (20)

Google Earth BCTEAL2023
Google Earth BCTEAL2023Google Earth BCTEAL2023
Google Earth BCTEAL2023
 
ChatGPT Prompt Tips
ChatGPT Prompt TipsChatGPT Prompt Tips
ChatGPT Prompt Tips
 
Repurposing H5Ps
Repurposing H5PsRepurposing H5Ps
Repurposing H5Ps
 
Moodle Accessibility Tools
Moodle Accessibility ToolsMoodle Accessibility Tools
Moodle Accessibility Tools
 
Google Earth Voyager How To
Google Earth Voyager How ToGoogle Earth Voyager How To
Google Earth Voyager How To
 
Playing Geoguessr
Playing GeoguessrPlaying Geoguessr
Playing Geoguessr
 
How-T0 Immersive reader Office365
How-T0 Immersive reader Office365How-T0 Immersive reader Office365
How-T0 Immersive reader Office365
 
How To Microsoft Immersive Reader for Word2019
How To Microsoft Immersive Reader for Word2019How To Microsoft Immersive Reader for Word2019
How To Microsoft Immersive Reader for Word2019
 
Xreading Teacher Start up
Xreading Teacher Start upXreading Teacher Start up
Xreading Teacher Start up
 
H5P Interactive Book Overview
H5P Interactive Book OverviewH5P Interactive Book Overview
H5P Interactive Book Overview
 
H5P Reuse Feature with LUMI
H5P Reuse Feature with LUMIH5P Reuse Feature with LUMI
H5P Reuse Feature with LUMI
 
H5P Structure Strip Tool with LUMI
H5P Structure Strip Tool with LUMIH5P Structure Strip Tool with LUMI
H5P Structure Strip Tool with LUMI
 
H5P Dictation Tool LUMI
H5P Dictation Tool LUMIH5P Dictation Tool LUMI
H5P Dictation Tool LUMI
 
H5P Sort Paragraph using LUMI
H5P Sort Paragraph using LUMIH5P Sort Paragraph using LUMI
H5P Sort Paragraph using LUMI
 
PLN Workshop
PLN WorkshopPLN Workshop
PLN Workshop
 
Practice Accessibility Worksheet
Practice Accessibility WorksheetPractice Accessibility Worksheet
Practice Accessibility Worksheet
 
Accessibility worksheet
Accessibility worksheetAccessibility worksheet
Accessibility worksheet
 
Qatar University Conference 2021 Interactive video W/ H5P Slides
Qatar University Conference 2021 Interactive video W/ H5P SlidesQatar University Conference 2021 Interactive video W/ H5P Slides
Qatar University Conference 2021 Interactive video W/ H5P Slides
 
Video Editing Basics for Teachers
Video Editing Basics for TeachersVideo Editing Basics for Teachers
Video Editing Basics for Teachers
 
Audio Editing Basics with Audacity 2021
Audio Editing Basics with Audacity 2021Audio Editing Basics with Audacity 2021
Audio Editing Basics with Audacity 2021
 

Recently uploaded

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 

Recently uploaded (20)

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 

HTML Basics 1 workshop

  • 1. HTML Basics 1 1 AllanWicks2015 Workshop Description HTML Basics Part 1: The workshop facilitator will introduce participants to the basic building blocks of HTML. Elements such as page framework and individual items will be introduced. The goal is to have participants identify the parts of an HTML document. Understanding basic HTML elements will allow instructors troubleshooting ability with their D2L pages. What is HTML?  HTML stands for Hyper Text Markup Language  HTML is a set of tags for describing (marking up) web documents (web pages).  Each HTML tag defines specific appearance or function of document content Tag Examples: <em> to show text emphasis <p> define a paragraph of text <a> represents a hyperlink (anchor element) <img> embeds an image in an HTML document HTML Tags Tags are the building blocks of an HTML document. Tags are keywords surrounded by angle brackets. <center>  HTML tags are commonly in pairs <p> and </p>  The first tag in a pair is the opening tag <p>  The second tag or closing tag is written with a forward slash before the tag name </p>  An element usually has an opening and closing tag. (There are a few exceptions.) <tagname>content</tagname> HTML Tag Resources A basic list of HTML tags can be found at http://abt.cm/1Dlxdqb An HTML 5 list can be found at http://abt.cm/1JZ80us
  • 2. HTML Basics 1 2 AllanWicks2015 Parts of an HTML document  The DOCTYPE declaration defines the document type to be HTML  The text & tags between <html> and </html> define an HTML document  The text between <head> and </head> provides information about the document  The text between <title> and </title> provides a title for the document  The text between <body> and </body> describes the visible page content  The text between <h1> and </h1> defines a heading  The text between <p> and </p> defines a paragraph Parts of an HTML document in HTML
  • 3. HTML Basics 1 3 AllanWicks2015 The HTML document as it appears in a browser HTML Document in D2L Note that the parts of a D2L HTML documentfollow the same structure.
  • 4. HTML Basics 1 4 AllanWicks2015 Tag Nesting Notice that tags pairs appear nested in relation to other nested pairs as in the structure above. <html> <head> <title> </title> </head> <body> <h1> </h1> <p> </p> </body> </html>
  • 5. HTML Basics 1 5 AllanWicks2015 HTML Tag Activity - basic tags Open the resource http://htmledit.squarefree.com/  Note: This is a real-time HTML editor. The data is entered into the top section and the results appear below. 1. In the top section of this page, delete all of the text, Look at the bottom section of the page (it should appear empty) 2. In the top section of this page, type This is a Page TitleParagraph HeadingThis is a simple sentence. HTML is a markup language. This text is a paragraph. 3. Look at the bottom section (it appears exactly as the top section) 4. Insert title tags as below. <title>This is a Page Title</title> Paragraph HeadingThis is a simple sentence. HTML is a markup language. This text is a paragraph. 5. In the bottom frame the title text should disappear. 6. Insert paragraph tags as below. <title>This is a Page Title</title> Paragraph Heading<p>This is a simple sentence. HTML is a markup language. This text is a paragraph. </p> 7. Not much of a difference as the text is included in one paragraph 8. Insert strong tags as below. <title>This is a Page Title</title>Paragraph Heading<p>This is a simple sentence. <strong>HTML is a markup language. </strong> This text is a paragraph.</p> 9. The sentence HTML is a markup language. Should appear bold. 10.Insert em tags and h2 as below. (emphasis & heading) <title>This is a Page Title</title><h2>Paragraph Heading</h2><p><em>This is a simple sentence. </em> <strong>HTML is a markup language. </strong> This text is a paragraph.</p> 11.This is a simple sentence. Should appear italicized. 12.Close the browser
  • 6. HTML Basics 1 6 AllanWicks2015 HTML Tag Activity - more tags Open the resource http://www.w3schools.com/html/tryit.asp?filename=tryhtml_default Note: This is a real-time HTML sandbox editor. The data is entered into the left section and the results appear on the right. 1. The basic structure of an HTML document appears in on the left. 2. Change the Page title to My Web Page 3. Click on the button See Result>> 4. Note: Nothing occurs to the result as the title appears in the browser title bar 5. In the left panel, click within the <h1> and </h1> tags 6. Change the text to My First Heading 7. Click on the button See Result>> 8. Note: the heading on the right side is changed 9. In the left panel, click after the </h1> tag 10.Press the Enter key 11.Type <h2>This is a sub-heading</h2> 12.Click on the button See Result>> 13.Note: a sub-heading appears 14.In the left panel, copy the line <p>This is a paragraph. </p> 15.Click after the </p> tag 16.Press Enter 17.Paste the copied content here 18.Click on the button See Result>> 19.Note: a paragraph appears here
  • 7. HTML Basics 1 7 AllanWicks2015 Attributes Attributes provide additional information about HTML tags. Attributes are normally stated in the opening tag. Three key attributes are size, src and href. The anchor tag and the href attribute  The <a> tag defines a hyperlink. <a> </a>  It has an attribute href <a href=""> </a>  The URL or web address is inserted in between the quotation marks <a href="http://www.cbc.ca"> </a>  The visible text is inserted in between the angled brackets > < <a href="http://www.cbc.ca">Visit CBC Online!</a>
  • 8. HTML Basics 1 8 AllanWicks2015 The image tag and attributes  The <img> tag defines a hyperlink. <img> </img>  It has an attribute src <img src="">  The file name is inserted in between the quotation marks. <img src="smileyface.jpg">  Height and width attributes are added between the “ and the > <img src="smileyface.jpg" height="42" width="42">
  • 9. HTML Basics 1 9 AllanWicks2015 Opening the HTML Editor in D2L 1. Open your Sandbox course on D2L (your name) 2. Click on CONTENT (in the navigation bar) 3. Click on the New button 4. Click Create a File 5. In the bottom right corner of the editor, click on the HTML Source Editor icon 6. The HTML Source Editor opens 7. Now what? 8. Insert HTML tags, attributes and documentdata 9. Click on Save Possibly get some help from: HTML Snippets Generator http://www.blindtextgenerator.com/snippets W3schools HTML snippets http://www.w3schools.com/html/html_basic.asp HTML code Generator http://www.quackit.com/html/html_generators/html_code_generator.cfm
  • 10. HTML Basics 1 10 AllanWicks2015 Excellent Basic HTML resources HTML Tags listing http://www.quackit.com/html_5/tags W3schools http://www.w3schools.com/html/html_intro.asp Web Source HTML codes http://www.web-source.net/html_codes_chart.htm#.VOr-yU0cS-U Lynda.com course HTML Essential Training with James Williamson The QuackIt online HTML Editor http://www.quackit.com/html/online-html-editor/ Realtime HTML editor http://htmledit.squarefree.com/ Yet another online real-time HTML editor http://www.onlinehtmleditor.net/