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

More Related Content

Similar to introduction to html and css html1.ppt (20)

Html tutorial
Html tutorialHtml tutorial
Html tutorial
FLYMAN TECHNOLOGY LIMITED
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
Vinay Vinnu
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
adelaticleanu
 
HTML
HTMLHTML
HTML
Akash Varaiya
 
web development_intro to HTML and web tech.ppt
web development_intro to HTML and web tech.pptweb development_intro to HTML and web tech.ppt
web development_intro to HTML and web tech.ppt
MumtazAhmed79
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Seble Nigussie
 
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
 
Web1
Web1Web1
Web1
Sagar Ghosh
 
Html for beginners part I
Html for beginners part IHtml for beginners part I
Html for beginners part I
Unaib Aslam
 
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
 
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
 
Vskills certified html5 developer Notes
Vskills certified html5 developer NotesVskills certified html5 developer Notes
Vskills certified html5 developer Notes
Vskills
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
VijaySingh790398
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)
Coder Tech
 
Html
HtmlHtml
Html
Inderpreet Singh
 
Html
HtmlHtml
Html
Alisha Kalidhar
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01
Niraj Bharambe
 
Html
HtmlHtml
Html
yugank_gupta
 

More from SherifElGohary7 (20)

introduction to html and cssIntroHTML.ppt
introduction to html and cssIntroHTML.pptintroduction to html and cssIntroHTML.ppt
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
2-Test biocompatibilitalty testing .ppt
2-Test biocompatibilitalty testing  .ppt2-Test biocompatibilitalty testing  .ppt
2-Test biocompatibilitalty testing .ppt
SherifElGohary7
 
articulating mirrors laser application 1610922286.pptx
articulating mirrors laser application 1610922286.pptxarticulating mirrors laser application 1610922286.pptx
articulating mirrors laser application 1610922286.pptx
SherifElGohary7
 
Intrusion Detection and Prevention Systems.pptx
Intrusion Detection and Prevention Systems.pptxIntrusion Detection and Prevention Systems.pptx
Intrusion Detection and Prevention Systems.pptx
SherifElGohary7
 
AAMI medical device standards program.pptx
AAMI medical device standards program.pptxAAMI medical device standards program.pptx
AAMI medical device standards program.pptx
SherifElGohary7
 
dppc-breach-notification-slides-201804.ppt
dppc-breach-notification-slides-201804.pptdppc-breach-notification-slides-201804.ppt
dppc-breach-notification-slides-201804.ppt
SherifElGohary7
 
presentationsPPT-HIPAA-Privacy-Rule-Training.pptx
presentationsPPT-HIPAA-Privacy-Rule-Training.pptxpresentationsPPT-HIPAA-Privacy-Rule-Training.pptx
presentationsPPT-HIPAA-Privacy-Rule-Training.pptx
SherifElGohary7
 
Lectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).pptLectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).ppt
SherifElGohary7
 
Lecture digital logic design Chapter4_4Web.ppt
Lecture digital logic design Chapter4_4Web.pptLecture digital logic design Chapter4_4Web.ppt
Lecture digital logic design Chapter4_4Web.ppt
SherifElGohary7
 
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
Encoder-Decoder-Multiplexers-and-Demultiplexers.pptEncoder-Decoder-Multiplexers-and-Demultiplexers.ppt
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
SherifElGohary7
 
Lecture of BloodGlucoseMonitoring2008.ppt
Lecture of BloodGlucoseMonitoring2008.pptLecture of BloodGlucoseMonitoring2008.ppt
Lecture of BloodGlucoseMonitoring2008.ppt
SherifElGohary7
 
IT GovernanceChallenges facing IT Governance.pdf
IT GovernanceChallenges facing IT Governance.pdfIT GovernanceChallenges facing IT Governance.pdf
IT GovernanceChallenges facing IT Governance.pdf
SherifElGohary7
 
Chapter 12 CSR and Corporate Governance.ppt
Chapter 12 CSR and Corporate Governance.pptChapter 12 CSR and Corporate Governance.ppt
Chapter 12 CSR and Corporate Governance.ppt
SherifElGohary7
 
Digital logic design of 2nd Lecture 2.pdf
Digital logic design of 2nd Lecture 2.pdfDigital logic design of 2nd Lecture 2.pdf
Digital logic design of 2nd Lecture 2.pdf
SherifElGohary7
 
Medical biophysics of Introduction-18.pdf
Medical biophysics of Introduction-18.pdfMedical biophysics of Introduction-18.pdf
Medical biophysics of Introduction-18.pdf
SherifElGohary7
 
Digital-logic-design-16148_flip-flop1.ppt
Digital-logic-design-16148_flip-flop1.pptDigital-logic-design-16148_flip-flop1.ppt
Digital-logic-design-16148_flip-flop1.ppt
SherifElGohary7
 
Lecture-digital-27_T_and_JK_Flip-Flops.ppt
Lecture-digital-27_T_and_JK_Flip-Flops.pptLecture-digital-27_T_and_JK_Flip-Flops.ppt
Lecture-digital-27_T_and_JK_Flip-Flops.ppt
SherifElGohary7
 
Lecture-digital logic design-32_Counters.ppt
Lecture-digital logic design-32_Counters.pptLecture-digital logic design-32_Counters.ppt
Lecture-digital logic design-32_Counters.ppt
SherifElGohary7
 
Lecture-Logic Design_circuit-15-Registers.ppt
Lecture-Logic Design_circuit-15-Registers.pptLecture-Logic Design_circuit-15-Registers.ppt
Lecture-Logic Design_circuit-15-Registers.ppt
SherifElGohary7
 
lecture_binary_logic_and_logic_gates.ppt
lecture_binary_logic_and_logic_gates.pptlecture_binary_logic_and_logic_gates.ppt
lecture_binary_logic_and_logic_gates.ppt
SherifElGohary7
 
introduction to html and cssIntroHTML.ppt
introduction to html and cssIntroHTML.pptintroduction to html and cssIntroHTML.ppt
introduction to html and cssIntroHTML.ppt
SherifElGohary7
 
2-Test biocompatibilitalty testing .ppt
2-Test biocompatibilitalty testing  .ppt2-Test biocompatibilitalty testing  .ppt
2-Test biocompatibilitalty testing .ppt
SherifElGohary7
 
articulating mirrors laser application 1610922286.pptx
articulating mirrors laser application 1610922286.pptxarticulating mirrors laser application 1610922286.pptx
articulating mirrors laser application 1610922286.pptx
SherifElGohary7
 
Intrusion Detection and Prevention Systems.pptx
Intrusion Detection and Prevention Systems.pptxIntrusion Detection and Prevention Systems.pptx
Intrusion Detection and Prevention Systems.pptx
SherifElGohary7
 
AAMI medical device standards program.pptx
AAMI medical device standards program.pptxAAMI medical device standards program.pptx
AAMI medical device standards program.pptx
SherifElGohary7
 
dppc-breach-notification-slides-201804.ppt
dppc-breach-notification-slides-201804.pptdppc-breach-notification-slides-201804.ppt
dppc-breach-notification-slides-201804.ppt
SherifElGohary7
 
presentationsPPT-HIPAA-Privacy-Rule-Training.pptx
presentationsPPT-HIPAA-Privacy-Rule-Training.pptxpresentationsPPT-HIPAA-Privacy-Rule-Training.pptx
presentationsPPT-HIPAA-Privacy-Rule-Training.pptx
SherifElGohary7
 
Lectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).pptLectureof nano 1588236675-biosensors (1).ppt
Lectureof nano 1588236675-biosensors (1).ppt
SherifElGohary7
 
Lecture digital logic design Chapter4_4Web.ppt
Lecture digital logic design Chapter4_4Web.pptLecture digital logic design Chapter4_4Web.ppt
Lecture digital logic design Chapter4_4Web.ppt
SherifElGohary7
 
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
Encoder-Decoder-Multiplexers-and-Demultiplexers.pptEncoder-Decoder-Multiplexers-and-Demultiplexers.ppt
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
SherifElGohary7
 
Lecture of BloodGlucoseMonitoring2008.ppt
Lecture of BloodGlucoseMonitoring2008.pptLecture of BloodGlucoseMonitoring2008.ppt
Lecture of BloodGlucoseMonitoring2008.ppt
SherifElGohary7
 
IT GovernanceChallenges facing IT Governance.pdf
IT GovernanceChallenges facing IT Governance.pdfIT GovernanceChallenges facing IT Governance.pdf
IT GovernanceChallenges facing IT Governance.pdf
SherifElGohary7
 
Chapter 12 CSR and Corporate Governance.ppt
Chapter 12 CSR and Corporate Governance.pptChapter 12 CSR and Corporate Governance.ppt
Chapter 12 CSR and Corporate Governance.ppt
SherifElGohary7
 
Digital logic design of 2nd Lecture 2.pdf
Digital logic design of 2nd Lecture 2.pdfDigital logic design of 2nd Lecture 2.pdf
Digital logic design of 2nd Lecture 2.pdf
SherifElGohary7
 
Medical biophysics of Introduction-18.pdf
Medical biophysics of Introduction-18.pdfMedical biophysics of Introduction-18.pdf
Medical biophysics of Introduction-18.pdf
SherifElGohary7
 
Digital-logic-design-16148_flip-flop1.ppt
Digital-logic-design-16148_flip-flop1.pptDigital-logic-design-16148_flip-flop1.ppt
Digital-logic-design-16148_flip-flop1.ppt
SherifElGohary7
 
Lecture-digital-27_T_and_JK_Flip-Flops.ppt
Lecture-digital-27_T_and_JK_Flip-Flops.pptLecture-digital-27_T_and_JK_Flip-Flops.ppt
Lecture-digital-27_T_and_JK_Flip-Flops.ppt
SherifElGohary7
 
Lecture-digital logic design-32_Counters.ppt
Lecture-digital logic design-32_Counters.pptLecture-digital logic design-32_Counters.ppt
Lecture-digital logic design-32_Counters.ppt
SherifElGohary7
 
Lecture-Logic Design_circuit-15-Registers.ppt
Lecture-Logic Design_circuit-15-Registers.pptLecture-Logic Design_circuit-15-Registers.ppt
Lecture-Logic Design_circuit-15-Registers.ppt
SherifElGohary7
 
lecture_binary_logic_and_logic_gates.ppt
lecture_binary_logic_and_logic_gates.pptlecture_binary_logic_and_logic_gates.ppt
lecture_binary_logic_and_logic_gates.ppt
SherifElGohary7
 
Ad

Recently uploaded (17)

Networking concepts from zero to hero that covers the security aspects
Networking concepts from zero to hero that covers the security aspectsNetworking concepts from zero to hero that covers the security aspects
Networking concepts from zero to hero that covers the security aspects
amansinght675
 
all Practical Project LAST summary note.docx
all Practical Project LAST summary note.docxall Practical Project LAST summary note.docx
all Practical Project LAST summary note.docx
seidjemal94
 
basic to advance network security concepts
basic to advance network security conceptsbasic to advance network security concepts
basic to advance network security concepts
amansinght675
 
Frontier Unlimited Internet Setup Step-by-Step Guide.pdf
Frontier Unlimited Internet Setup Step-by-Step Guide.pdfFrontier Unlimited Internet Setup Step-by-Step Guide.pdf
Frontier Unlimited Internet Setup Step-by-Step Guide.pdf
Internet Bundle Now
 
5 Reasons cheap WordPress hosting is costing you more | Reversed Out
5 Reasons cheap WordPress hosting is costing you more | Reversed Out5 Reasons cheap WordPress hosting is costing you more | Reversed Out
5 Reasons cheap WordPress hosting is costing you more | Reversed Out
Reversed Out Creative
 
Networking_Essentials_version_3.0_-_Module_7.pptx
Networking_Essentials_version_3.0_-_Module_7.pptxNetworking_Essentials_version_3.0_-_Module_7.pptx
Networking_Essentials_version_3.0_-_Module_7.pptx
elestirmen
 
Presentation About The Buttons | Selma SALTIK
Presentation About The Buttons | Selma SALTIKPresentation About The Buttons | Selma SALTIK
Presentation About The Buttons | Selma SALTIK
SELMA SALTIK
 
HPC_Course_Presentation_No_Images included.pptx
HPC_Course_Presentation_No_Images included.pptxHPC_Course_Presentation_No_Images included.pptx
HPC_Course_Presentation_No_Images included.pptx
naziaahmadnm
 
ARTIFICIAL INTELLIGENCE.pptx2565567765676
ARTIFICIAL INTELLIGENCE.pptx2565567765676ARTIFICIAL INTELLIGENCE.pptx2565567765676
ARTIFICIAL INTELLIGENCE.pptx2565567765676
areebaimtiazpmas
 
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
Taqyea
 
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AIAI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
skdav34
 
How to Make Money as a Cam Model – Tips, Tools & Real Talk
How to Make Money as a Cam Model – Tips, Tools & Real TalkHow to Make Money as a Cam Model – Tips, Tools & Real Talk
How to Make Money as a Cam Model – Tips, Tools & Real Talk
Cam Sites Expert
 
10 Latest Technologies and Their Benefits to End.pptx
10 Latest Technologies and Their Benefits to End.pptx10 Latest Technologies and Their Benefits to End.pptx
10 Latest Technologies and Their Benefits to End.pptx
EphraimOOghodero
 
OSI_Security_Architecture Computer Science.pptx
OSI_Security_Architecture Computer Science.pptxOSI_Security_Architecture Computer Science.pptx
OSI_Security_Architecture Computer Science.pptx
faizanaseem873
 
Cloud VPS Provider in India: The Best Hosting Solution for Your Business
Cloud VPS Provider in India: The Best Hosting Solution for Your BusinessCloud VPS Provider in India: The Best Hosting Solution for Your Business
Cloud VPS Provider in India: The Best Hosting Solution for Your Business
DanaJohnson510230
 
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdf
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdfEssential Tech Stack for Effective Shopify Dropshipping Integration.pdf
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdf
CartCoders
 
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptxTransport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
ssuser80a7e81
 
Networking concepts from zero to hero that covers the security aspects
Networking concepts from zero to hero that covers the security aspectsNetworking concepts from zero to hero that covers the security aspects
Networking concepts from zero to hero that covers the security aspects
amansinght675
 
all Practical Project LAST summary note.docx
all Practical Project LAST summary note.docxall Practical Project LAST summary note.docx
all Practical Project LAST summary note.docx
seidjemal94
 
basic to advance network security concepts
basic to advance network security conceptsbasic to advance network security concepts
basic to advance network security concepts
amansinght675
 
Frontier Unlimited Internet Setup Step-by-Step Guide.pdf
Frontier Unlimited Internet Setup Step-by-Step Guide.pdfFrontier Unlimited Internet Setup Step-by-Step Guide.pdf
Frontier Unlimited Internet Setup Step-by-Step Guide.pdf
Internet Bundle Now
 
5 Reasons cheap WordPress hosting is costing you more | Reversed Out
5 Reasons cheap WordPress hosting is costing you more | Reversed Out5 Reasons cheap WordPress hosting is costing you more | Reversed Out
5 Reasons cheap WordPress hosting is costing you more | Reversed Out
Reversed Out Creative
 
Networking_Essentials_version_3.0_-_Module_7.pptx
Networking_Essentials_version_3.0_-_Module_7.pptxNetworking_Essentials_version_3.0_-_Module_7.pptx
Networking_Essentials_version_3.0_-_Module_7.pptx
elestirmen
 
Presentation About The Buttons | Selma SALTIK
Presentation About The Buttons | Selma SALTIKPresentation About The Buttons | Selma SALTIK
Presentation About The Buttons | Selma SALTIK
SELMA SALTIK
 
HPC_Course_Presentation_No_Images included.pptx
HPC_Course_Presentation_No_Images included.pptxHPC_Course_Presentation_No_Images included.pptx
HPC_Course_Presentation_No_Images included.pptx
naziaahmadnm
 
ARTIFICIAL INTELLIGENCE.pptx2565567765676
ARTIFICIAL INTELLIGENCE.pptx2565567765676ARTIFICIAL INTELLIGENCE.pptx2565567765676
ARTIFICIAL INTELLIGENCE.pptx2565567765676
areebaimtiazpmas
 
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
原版西班牙马拉加大学毕业证(UMA毕业证书)如何办理
Taqyea
 
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AIAI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
AI REPLACING HUMANS /FATHER OF AI/BIRTH OF AI
skdav34
 
How to Make Money as a Cam Model – Tips, Tools & Real Talk
How to Make Money as a Cam Model – Tips, Tools & Real TalkHow to Make Money as a Cam Model – Tips, Tools & Real Talk
How to Make Money as a Cam Model – Tips, Tools & Real Talk
Cam Sites Expert
 
10 Latest Technologies and Their Benefits to End.pptx
10 Latest Technologies and Their Benefits to End.pptx10 Latest Technologies and Their Benefits to End.pptx
10 Latest Technologies and Their Benefits to End.pptx
EphraimOOghodero
 
OSI_Security_Architecture Computer Science.pptx
OSI_Security_Architecture Computer Science.pptxOSI_Security_Architecture Computer Science.pptx
OSI_Security_Architecture Computer Science.pptx
faizanaseem873
 
Cloud VPS Provider in India: The Best Hosting Solution for Your Business
Cloud VPS Provider in India: The Best Hosting Solution for Your BusinessCloud VPS Provider in India: The Best Hosting Solution for Your Business
Cloud VPS Provider in India: The Best Hosting Solution for Your Business
DanaJohnson510230
 
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdf
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdfEssential Tech Stack for Effective Shopify Dropshipping Integration.pdf
Essential Tech Stack for Effective Shopify Dropshipping Integration.pdf
CartCoders
 
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptxTransport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
Transport Conjjjjjjjjjjjjjjjjjjjjjjjsulting by Slidesgo.pptx
ssuser80a7e81
 
Ad

introduction to html and css html1.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>