SlideShare a Scribd company logo
HTML and Web Pages
HTML?
 HTML is not a programming language
 A type of SGML (standard generalized
markup language)
 HTML uses paired tags to markup different
elements of a page
 We will discuss XHTML later.
 Language that drives web pages in WWW
 It is where we will start the semester
Editing Your HTML File
 Try not to use Notepad use EditPlus
instead
 WYSIWYG editor, like FrontPage
 PHP Designer or HTMLGateFree
 Familiarize with the mechanics
 Without using WISIWYG like Frontpage
 Understand the coding behind web pages
 Provides you the knowledge to make
changes
Publish at marqone.busadm.mu.edu
 We’ll publish on the server designated for the
class
 Using an FTP server like Filezilla
 The server also have a file transfer program
but Filezilla is easier to use
Words to remember
 Tag
 Used to specify special regions to the web
browser. Tags look like this: <tag>
 Element
 A complete tag, having an opening <tag> and
a closing <tag>.
 Attribute
 Used to modify the value of the HTML
element. Elements will often have multiple
attributes.
Element?
 An element consists of three basic parts: an
opening tag, the element's content, and
finally, a closing tag.
 <p> - opening paragraph tag
 Element Content - paragraph content
 </p> - closing tag
 Every webpage contains four basic
elements. The html, head, title, and body
elements.
More elements
 <html> begins and ends each and every web
page.
 The <head> element comes next.
 Tags placed within the head element are not
directly displayed by browsers.
 Place the <title> tag within the <head>
element to title your page. The title will be
displayed at the top of a viewer's browser.
 The <body> element is where all content is
placed. Paragraphs, pictures, tables, etc.
A Simple HTML File – ex1.html
<html>
<head>
<title>A Simple HTML Example</title>
</head>
<body>
HTML is Easy To Learn</H1>
Welcome to the world of HTML.
</body>
</html>
Exercise – ex1.html
 Using Filezilla – open
marqone.busadm.mu.edu
 Enter user name and password
 mkdir – “exercise”
 Go into the exercise directory
 create ex1.html with HTMLGateFree
 Test it before you download to the “server”
 Download and test
https://marqone.busadm.mu.edu/~user/exercise/ex1.html
Tags
 Tags are embedded commands within a
document that communicate to the browser.
 <opening tag> Content </closing tag>
 Any number of white-spaces are compressed
into a single one
 Examples of Tags
 <p>Paragraph Tag</p>
 <h2>Heading Tag</h2>
 <b>Bold Tag</b> or <strong> Bold Tag </strong>
 <i>Italic Tag</i> or <em> Italic Tag </i>
More HTML tags
 Tags Without Closing Tags
 They still have the 3 basic parts
(opening/closing and content).
 do not require a formal </closingtag>
 Examples:
 <img src="mypic.jpg" /> -- Image Tag
 <br /> -- Line Break Tag
 <input type="text" size="12" /> -- Input Field
Lists – un-numbered
 Unnumbered Lists:
<UL>
<LI> apples </LI>
<LI> bananas </LI>
<LI> grapefruit </LI>
</UL>
 Unnumbered Lists with
different pointer types:
<UL type="square">
<LI> oranges </LI>
<LI> peaches </LI>
<LI> grapes </LI>
</UL>
type="square"
type="disc"
type="circle"
Lists - numbered
 Unnumbered Lists:
<UL>
<LI> apples </LI>
<LI> bananas </LI>
<LI> grapefruit </LI>
</UL>
 Numbered Lists:
<OL>
<LI> oranges </LI>
<LI> peaches </LI>
<LI> grapes </LI>
</OL>
Lists - numbered
 Numbered Lists that
starts with 4:
<OL start="4">
<LI> oranges </LI>
<LI> peaches </LI>
<LI> grapes </LI>
</OL>
 Numbered Lists with
different ordering:
<OL type="a">
<LI> oranges </LI>
<LI> peaches </LI>
<LI> grapes </LI>
</OL>
type="a": a, b, c
type="A": A, B, C
type="i": i, ii, iii
type="I": I, II, III
Lists
TIPS
Use the start and type attributes to customize your
lists. It is possible to make lists of lists, which is
helpful for creating some items, such as outlines.
Put it all together so far
<HTML>
<HEAD>
<TITLE>The document title</TITLE>
</HEAD>
<BODY>
<H1>Main heading</H1>
<P>A paragraph.</P>
<P>Another paragraph.</P>
<UL> Things that I like </UL>
<LI>A list item.</LI>
<LI>Another list item.</LI>
</UL>
</BODY>
</HTML>
Block vs. Inline Elements
 <h2><em>This header will be bold and
italicized</em></h2>
OR
 <em><h2>This header will be bold and
italicized</h2></em>
 <em> and <h2> are different kinds of tags.
 <h2>: header elements are BLOCK-LEVEL
elements.
 <em>: is an INLINE-LEVEL element.
Formatting
<p>An example of <b>Bold Text</b> </p>
<p>An example of <em>Emphasized Text</em> </p>
<p>An example of <strong>Strong Text</strong> </p>
<p>An example of <i>Italic Text</i> </p>
<p>An example of <sup>superscripted Text</sup> </p>
<p>An example of <sub>subscripted Text</sub> </p>
<p>An example of <del>struckthrough Text</del> </p>
<p>An example of <code>Computer Code Text</code> </p>
<center>Centering of text in page</center>
Hyperlinks
 The most important capability of HTML
 Both text and image can serve as anchors
for the link
<a HREF=http://www.mu.edu>Marquette University</a>
<a HREF=http://www.mu.edu> <IMG
SRC="mu.gif"></a>
Exercise: ex2.html
Ad

More Related Content

Similar to basic to advance course of html and css1.ppt (20)

Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
adelaticleanu
 
Html for beginners part I
Html for beginners part IHtml for beginners part I
Html for beginners part I
Unaib Aslam
 
Web1
Web1Web1
Web1
Sagar Ghosh
 
Html 1
Html 1Html 1
Html 1
Anmol Pant
 
Week 2-intro-html
Week 2-intro-htmlWeek 2-intro-html
Week 2-intro-html
Shawn Calvert
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Seble Nigussie
 
Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niaz
ikram niaz
 
Html
HtmlHtml
Html
Alisha Kalidhar
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
2a web technology html basics 1
2a web technology html basics 12a web technology html basics 1
2a web technology html basics 1
Jyoti Yadav
 
Unit 2 Internet and web technology CSS report
Unit 2 Internet and web technology CSS reportUnit 2 Internet and web technology CSS report
Unit 2 Internet and web technology CSS report
ajaysahusistec
 
Chapter 2 Final.pptx
Chapter 2 Final.pptxChapter 2 Final.pptx
Chapter 2 Final.pptx
getnet51
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01
Niraj Bharambe
 
Vskills certified html5 developer Notes
Vskills certified html5 developer NotesVskills certified html5 developer Notes
Vskills certified html5 developer Notes
Vskills
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Shehzad Yaqoob
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
VijaySingh790398
 
About html
About htmlAbout html
About html
Manvigangwar
 
Introduction to HTML
Introduction to HTML Introduction to HTML
Introduction to HTML
Professional Guru
 
web technology practical file
web technology practical fileweb technology practical file
web technology practical file
FreedomFox1
 
Html
HtmlHtml
Html
yugank_gupta
 
Html for beginners part I
Html for beginners part IHtml for beginners part I
Html for beginners part I
Unaib Aslam
 
Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niaz
ikram niaz
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
2a web technology html basics 1
2a web technology html basics 12a web technology html basics 1
2a web technology html basics 1
Jyoti Yadav
 
Unit 2 Internet and web technology CSS report
Unit 2 Internet and web technology CSS reportUnit 2 Internet and web technology CSS report
Unit 2 Internet and web technology CSS report
ajaysahusistec
 
Chapter 2 Final.pptx
Chapter 2 Final.pptxChapter 2 Final.pptx
Chapter 2 Final.pptx
getnet51
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01
Niraj Bharambe
 
Vskills certified html5 developer Notes
Vskills certified html5 developer NotesVskills certified html5 developer Notes
Vskills certified html5 developer Notes
Vskills
 
web technology practical file
web technology practical fileweb technology practical file
web technology practical file
FreedomFox1
 

More from trainer310 (10)

Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12
Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12
Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12
trainer310
 
minors-child-protection-training (1).ppt
minors-child-protection-training (1).pptminors-child-protection-training (1).ppt
minors-child-protection-training (1).ppt
trainer310
 
word_read.word_readword_readvword_readpptx
word_read.word_readword_readvword_readpptxword_read.word_readword_readvword_readpptx
word_read.word_readword_readvword_readpptx
trainer310
 
training presentation - create your first word document i.pptx
training presentation - create your first word document i.pptxtraining presentation - create your first word document i.pptx
training presentation - create your first word document i.pptx
trainer310
 
Financial_LiteracyFinancial_Literacy.ppt
Financial_LiteracyFinancial_Literacy.pptFinancial_LiteracyFinancial_Literacy.ppt
Financial_LiteracyFinancial_Literacy.ppt
trainer310
 
Lsn07_Conditionals_Lsn07_Conditionals_Conditionals.ppt
Lsn07_Conditionals_Lsn07_Conditionals_Conditionals.pptLsn07_Conditionals_Lsn07_Conditionals_Conditionals.ppt
Lsn07_Conditionals_Lsn07_Conditionals_Conditionals.ppt
trainer310
 
Introduction-to-Excel Introduction-to-Excel .ppt
Introduction-to-Excel   Introduction-to-Excel .pptIntroduction-to-Excel   Introduction-to-Excel .ppt
Introduction-to-Excel Introduction-to-Excel .ppt
trainer310
 
Introduction-to-Excel Introduction-to-Excel.ppt
Introduction-to-Excel Introduction-to-Excel.pptIntroduction-to-Excel Introduction-to-Excel.ppt
Introduction-to-Excel Introduction-to-Excel.ppt
trainer310
 
basicexcelpptpresentation-220603092058-ead5af4c.pptx
basicexcelpptpresentation-220603092058-ead5af4c.pptxbasicexcelpptpresentation-220603092058-ead5af4c.pptx
basicexcelpptpresentation-220603092058-ead5af4c.pptx
trainer310
 
concepts-of-computer concepts-of-computer .ppt
concepts-of-computer concepts-of-computer .pptconcepts-of-computer concepts-of-computer .ppt
concepts-of-computer concepts-of-computer .ppt
trainer310
 
Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12
Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12
Intro_Excel_FA12 Intro_Excel_FA12Intro_Excel_FA12
trainer310
 
minors-child-protection-training (1).ppt
minors-child-protection-training (1).pptminors-child-protection-training (1).ppt
minors-child-protection-training (1).ppt
trainer310
 
word_read.word_readword_readvword_readpptx
word_read.word_readword_readvword_readpptxword_read.word_readword_readvword_readpptx
word_read.word_readword_readvword_readpptx
trainer310
 
training presentation - create your first word document i.pptx
training presentation - create your first word document i.pptxtraining presentation - create your first word document i.pptx
training presentation - create your first word document i.pptx
trainer310
 
Financial_LiteracyFinancial_Literacy.ppt
Financial_LiteracyFinancial_Literacy.pptFinancial_LiteracyFinancial_Literacy.ppt
Financial_LiteracyFinancial_Literacy.ppt
trainer310
 
Lsn07_Conditionals_Lsn07_Conditionals_Conditionals.ppt
Lsn07_Conditionals_Lsn07_Conditionals_Conditionals.pptLsn07_Conditionals_Lsn07_Conditionals_Conditionals.ppt
Lsn07_Conditionals_Lsn07_Conditionals_Conditionals.ppt
trainer310
 
Introduction-to-Excel Introduction-to-Excel .ppt
Introduction-to-Excel   Introduction-to-Excel .pptIntroduction-to-Excel   Introduction-to-Excel .ppt
Introduction-to-Excel Introduction-to-Excel .ppt
trainer310
 
Introduction-to-Excel Introduction-to-Excel.ppt
Introduction-to-Excel Introduction-to-Excel.pptIntroduction-to-Excel Introduction-to-Excel.ppt
Introduction-to-Excel Introduction-to-Excel.ppt
trainer310
 
basicexcelpptpresentation-220603092058-ead5af4c.pptx
basicexcelpptpresentation-220603092058-ead5af4c.pptxbasicexcelpptpresentation-220603092058-ead5af4c.pptx
basicexcelpptpresentation-220603092058-ead5af4c.pptx
trainer310
 
concepts-of-computer concepts-of-computer .ppt
concepts-of-computer concepts-of-computer .pptconcepts-of-computer concepts-of-computer .ppt
concepts-of-computer concepts-of-computer .ppt
trainer310
 
Ad

Recently uploaded (20)

Kumushini_Thennakoon_CAPWIC_slides_.pptx
Kumushini_Thennakoon_CAPWIC_slides_.pptxKumushini_Thennakoon_CAPWIC_slides_.pptx
Kumushini_Thennakoon_CAPWIC_slides_.pptx
kumushiniodu
 
spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
Lecture 1 Introduction history and institutes of entomology_1.pptx
Lecture 1 Introduction history and institutes of entomology_1.pptxLecture 1 Introduction history and institutes of entomology_1.pptx
Lecture 1 Introduction history and institutes of entomology_1.pptx
Arshad Shaikh
 
antiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidenceantiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidence
PrachiSontakke5
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
Computer crime and Legal issues Computer crime and Legal issues
Computer crime and Legal issues Computer crime and Legal issuesComputer crime and Legal issues Computer crime and Legal issues
Computer crime and Legal issues Computer crime and Legal issues
Abhijit Bodhe
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
All About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdfAll About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdf
TechSoup
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
Lecture 4 INSECT CUTICLE and moulting.pptx
Lecture 4 INSECT CUTICLE and moulting.pptxLecture 4 INSECT CUTICLE and moulting.pptx
Lecture 4 INSECT CUTICLE and moulting.pptx
Arshad Shaikh
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
Myopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduateMyopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduate
Mohamed Rizk Khodair
 
Kenan Fellows Participants, Projects 2025-26 Cohort
Kenan Fellows Participants, Projects 2025-26 CohortKenan Fellows Participants, Projects 2025-26 Cohort
Kenan Fellows Participants, Projects 2025-26 Cohort
EducationNC
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Ranking_Felicidade_2024_com_Educacao_Marketing Educacional_V2.pdf
Ranking_Felicidade_2024_com_Educacao_Marketing Educacional_V2.pdfRanking_Felicidade_2024_com_Educacao_Marketing Educacional_V2.pdf
Ranking_Felicidade_2024_com_Educacao_Marketing Educacional_V2.pdf
Rafael Villas B
 
The History of Kashmir Karkota Dynasty NEP.pptx
The History of Kashmir Karkota Dynasty NEP.pptxThe History of Kashmir Karkota Dynasty NEP.pptx
The History of Kashmir Karkota Dynasty NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
PHYSIOLOGY MCQS By DR. NASIR MUSTAFA (PHYSIOLOGY)
PHYSIOLOGY MCQS By DR. NASIR MUSTAFA (PHYSIOLOGY)PHYSIOLOGY MCQS By DR. NASIR MUSTAFA (PHYSIOLOGY)
PHYSIOLOGY MCQS By DR. NASIR MUSTAFA (PHYSIOLOGY)
Dr. Nasir Mustafa
 
Kumushini_Thennakoon_CAPWIC_slides_.pptx
Kumushini_Thennakoon_CAPWIC_slides_.pptxKumushini_Thennakoon_CAPWIC_slides_.pptx
Kumushini_Thennakoon_CAPWIC_slides_.pptx
kumushiniodu
 
spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)spinal cord disorders (Myelopathies and radiculoapthies)
spinal cord disorders (Myelopathies and radiculoapthies)
Mohamed Rizk Khodair
 
Lecture 1 Introduction history and institutes of entomology_1.pptx
Lecture 1 Introduction history and institutes of entomology_1.pptxLecture 1 Introduction history and institutes of entomology_1.pptx
Lecture 1 Introduction history and institutes of entomology_1.pptx
Arshad Shaikh
 
antiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidenceantiquity of writing in ancient India- literary & archaeological evidence
antiquity of writing in ancient India- literary & archaeological evidence
PrachiSontakke5
 
Drugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdfDrugs in Anaesthesia and Intensive Care,.pdf
Drugs in Anaesthesia and Intensive Care,.pdf
crewot855
 
Computer crime and Legal issues Computer crime and Legal issues
Computer crime and Legal issues Computer crime and Legal issuesComputer crime and Legal issues Computer crime and Legal issues
Computer crime and Legal issues Computer crime and Legal issues
Abhijit Bodhe
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
Ancient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian HistoryAncient Stone Sculptures of India: As a Source of Indian History
Ancient Stone Sculptures of India: As a Source of Indian History
Virag Sontakke
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
All About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdfAll About the 990 Unlocking Its Mysteries and Its Power.pdf
All About the 990 Unlocking Its Mysteries and Its Power.pdf
TechSoup
 
03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.03#UNTAGGED. Generosity in architecture.
03#UNTAGGED. Generosity in architecture.
MCH
 
Lecture 4 INSECT CUTICLE and moulting.pptx
Lecture 4 INSECT CUTICLE and moulting.pptxLecture 4 INSECT CUTICLE and moulting.pptx
Lecture 4 INSECT CUTICLE and moulting.pptx
Arshad Shaikh
 
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptxANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
ANTI-VIRAL DRUGS unit 3 Pharmacology 3.pptx
Mayuri Chavan
 
Myopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduateMyopathies (muscle disorders) for undergraduate
Myopathies (muscle disorders) for undergraduate
Mohamed Rizk Khodair
 
Kenan Fellows Participants, Projects 2025-26 Cohort
Kenan Fellows Participants, Projects 2025-26 CohortKenan Fellows Participants, Projects 2025-26 Cohort
Kenan Fellows Participants, Projects 2025-26 Cohort
EducationNC
 
puzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tensepuzzle Irregular Verbs- Simple Past Tense
puzzle Irregular Verbs- Simple Past Tense
OlgaLeonorTorresSnch
 
Ranking_Felicidade_2024_com_Educacao_Marketing Educacional_V2.pdf
Ranking_Felicidade_2024_com_Educacao_Marketing Educacional_V2.pdfRanking_Felicidade_2024_com_Educacao_Marketing Educacional_V2.pdf
Ranking_Felicidade_2024_com_Educacao_Marketing Educacional_V2.pdf
Rafael Villas B
 
PHYSIOLOGY MCQS By DR. NASIR MUSTAFA (PHYSIOLOGY)
PHYSIOLOGY MCQS By DR. NASIR MUSTAFA (PHYSIOLOGY)PHYSIOLOGY MCQS By DR. NASIR MUSTAFA (PHYSIOLOGY)
PHYSIOLOGY MCQS By DR. NASIR MUSTAFA (PHYSIOLOGY)
Dr. Nasir Mustafa
 
Ad

basic to advance course of html and css1.ppt

  • 1. HTML and Web Pages
  • 2. HTML?  HTML is not a programming language  A type of SGML (standard generalized markup language)  HTML uses paired tags to markup different elements of a page  We will discuss XHTML later.  Language that drives web pages in WWW  It is where we will start the semester
  • 3. Editing Your HTML File  Try not to use Notepad use EditPlus instead  WYSIWYG editor, like FrontPage  PHP Designer or HTMLGateFree  Familiarize with the mechanics  Without using WISIWYG like Frontpage  Understand the coding behind web pages  Provides you the knowledge to make changes
  • 4. Publish at marqone.busadm.mu.edu  We’ll publish on the server designated for the class  Using an FTP server like Filezilla  The server also have a file transfer program but Filezilla is easier to use
  • 5. Words to remember  Tag  Used to specify special regions to the web browser. Tags look like this: <tag>  Element  A complete tag, having an opening <tag> and a closing <tag>.  Attribute  Used to modify the value of the HTML element. Elements will often have multiple attributes.
  • 6. Element?  An element consists of three basic parts: an opening tag, the element's content, and finally, a closing tag.  <p> - opening paragraph tag  Element Content - paragraph content  </p> - closing tag  Every webpage contains four basic elements. The html, head, title, and body elements.
  • 7. More elements  <html> begins and ends each and every web page.  The <head> element comes next.  Tags placed within the head element are not directly displayed by browsers.  Place the <title> tag within the <head> element to title your page. The title will be displayed at the top of a viewer's browser.  The <body> element is where all content is placed. Paragraphs, pictures, tables, etc.
  • 8. A Simple HTML File – ex1.html <html> <head> <title>A Simple HTML Example</title> </head> <body> HTML is Easy To Learn</H1> Welcome to the world of HTML. </body> </html>
  • 9. Exercise – ex1.html  Using Filezilla – open marqone.busadm.mu.edu  Enter user name and password  mkdir – “exercise”  Go into the exercise directory  create ex1.html with HTMLGateFree  Test it before you download to the “server”  Download and test https://marqone.busadm.mu.edu/~user/exercise/ex1.html
  • 10. Tags  Tags are embedded commands within a document that communicate to the browser.  <opening tag> Content </closing tag>  Any number of white-spaces are compressed into a single one  Examples of Tags  <p>Paragraph Tag</p>  <h2>Heading Tag</h2>  <b>Bold Tag</b> or <strong> Bold Tag </strong>  <i>Italic Tag</i> or <em> Italic Tag </i>
  • 11. More HTML tags  Tags Without Closing Tags  They still have the 3 basic parts (opening/closing and content).  do not require a formal </closingtag>  Examples:  <img src="mypic.jpg" /> -- Image Tag  <br /> -- Line Break Tag  <input type="text" size="12" /> -- Input Field
  • 12. Lists – un-numbered  Unnumbered Lists: <UL> <LI> apples </LI> <LI> bananas </LI> <LI> grapefruit </LI> </UL>  Unnumbered Lists with different pointer types: <UL type="square"> <LI> oranges </LI> <LI> peaches </LI> <LI> grapes </LI> </UL> type="square" type="disc" type="circle"
  • 13. Lists - numbered  Unnumbered Lists: <UL> <LI> apples </LI> <LI> bananas </LI> <LI> grapefruit </LI> </UL>  Numbered Lists: <OL> <LI> oranges </LI> <LI> peaches </LI> <LI> grapes </LI> </OL>
  • 14. Lists - numbered  Numbered Lists that starts with 4: <OL start="4"> <LI> oranges </LI> <LI> peaches </LI> <LI> grapes </LI> </OL>  Numbered Lists with different ordering: <OL type="a"> <LI> oranges </LI> <LI> peaches </LI> <LI> grapes </LI> </OL> type="a": a, b, c type="A": A, B, C type="i": i, ii, iii type="I": I, II, III
  • 15. Lists TIPS Use the start and type attributes to customize your lists. It is possible to make lists of lists, which is helpful for creating some items, such as outlines.
  • 16. Put it all together so far <HTML> <HEAD> <TITLE>The document title</TITLE> </HEAD> <BODY> <H1>Main heading</H1> <P>A paragraph.</P> <P>Another paragraph.</P> <UL> Things that I like </UL> <LI>A list item.</LI> <LI>Another list item.</LI> </UL> </BODY> </HTML>
  • 17. Block vs. Inline Elements  <h2><em>This header will be bold and italicized</em></h2> OR  <em><h2>This header will be bold and italicized</h2></em>  <em> and <h2> are different kinds of tags.  <h2>: header elements are BLOCK-LEVEL elements.  <em>: is an INLINE-LEVEL element.
  • 18. Formatting <p>An example of <b>Bold Text</b> </p> <p>An example of <em>Emphasized Text</em> </p> <p>An example of <strong>Strong Text</strong> </p> <p>An example of <i>Italic Text</i> </p> <p>An example of <sup>superscripted Text</sup> </p> <p>An example of <sub>subscripted Text</sub> </p> <p>An example of <del>struckthrough Text</del> </p> <p>An example of <code>Computer Code Text</code> </p> <center>Centering of text in page</center>
  • 19. Hyperlinks  The most important capability of HTML  Both text and image can serve as anchors for the link <a HREF=http://www.mu.edu>Marquette University</a> <a HREF=http://www.mu.edu> <IMG SRC="mu.gif"></a>