SlideShare a Scribd company logo
COS 423 Theory of Algorithms • Kevin Wayne • Spring 2007
Web Programming
Internet and world wide web
• HTML
 Short for HyperText Markup Language, the authoring languageused
to create documents on the World Wide Web.
 First developed by Tim Berners-Lee in 1990, HTML is short
for HyperText Markup Language. HTML is used to create electronic
documents (called pages) that are displayed on the World Wide Web.
Each page contains a series of connections to other pages
called hyperlinks. Every web page you see on the Internet is written
using one version of HTML code or another.
2
Tag
 HTML commands are known as tag and surrounded by <and>. Html tags
are normally comes in pairs.
 <!DOCTYPE html>
 <html>
 <body>
 This is my first web page
 </body>
 </html>
3
Elements and Attributes
• Elements
• Elements are command that tell a browser to do something. Such as
<H1>.
• Attributes
• Tags can also have attributes, which are extra bits of information.
Attributes appear inside the opening tag and their values sit inside
quotation marks. They look something like
• <tag attribute="value">Margarine</tag>.
• We will come across tags with attributes later.
4
Benefits of HTML
• Simplicity
• Platform independent
• Easy navigation
• Easier to read and understand
5
Web page creation using HTML
• Text editor : use to write html command using any text editor such as
notepad or WordPad.
• Web browser: it is used to test the webpage.
6
Basic structure
• <HTML>
• <Head>
}head section use to identify the heading or title of document.. The title tag appear in
this section
• </head>
• <body>
} body section
• </body>
• </HTML>
7
A simple program
• <HTML>
• <Head> use to heading or title of program
• <Title> use to indicate title of a program
• my first program
• </Title>
• </head>
• <body> body of program
• Hello
• </body>
• </HTML>
Save program with name.html
8
Body tag attributes
• BGCOLOR specifies the background color of the web page. E.g. <body
BGCOLOR= “red“ TEXT =“yellow">
• BACKGROUND specifies the background picture of web page. E.g.
<body BACKGROUND= “MY.png“ TEXT =“yellow">
• TEXT specify text color.
9
HEADINGS
• Is a very important body tag and use to display headings.
• Align is used to specifies the alignment of heading. The possible values
are center, left and right.
• <H1 ALIGN= “center“ > first heading </H1>
Sample code
• <HTML>
• <body>
• <H1 ALIGN= “center“ > first heading </H1>
• <H2> first heading </H2>
• </body>
• </HTML>
10
Paragraph : a body tag
• <p ALIGN= “center“ > first paragraph </p>
• Sample code
11
Line break
• Use to decide where the txt will be break using <BR> tag. A <BR> tag
has no closing tag.
• sample code
• <HTML>
• <body>
• Use to decide where the txt will be break <BR> use to move control to
the next line <BR> it is used to end a line without inserting a paragraph
<BR> and it has no closing tag.
• </body>
• </HTML>
12
Horizontal line
• Use to separate different area of web page. It is used to display a
horizontal line in the page using <HR> tag and this tag has no closing
tag.
• ALIGN: is used to specify the alignment such as center, left, right. Line
appear in center by default.
• SIZE: specify the size of line.
• WIDTH: specify the width of line.
• NOSHADE: turn off shading of line.
• COLOR: specify the color of line
• E.g.
• <HR WIDTH=40 align=“center” size=4>
13
Text Formatting
• Bold : <B> bold </B>
• Italic : <I> ITALIC </I>
• Underline : <U> </U>
• Superscript: <SUP> </SUP>
• E.g. N <SUP> 2 </SUP>
• Subscript <SUB> </SUB>
• E.g. N<SUB>2</SUB>
14
FONT
• Is used to specify the characteristic of font such as typeface, size color etc.
the possible vales of face are “ARIAL”, “ARIAL BLACK”, “COURIER ”, and
“MS Sans Serif”.
• Big and Small tag
• Use to change the size of text.
• e,.g.
• <BIG>HELLO</BIG>
• <SMALL>HELLO</SMALL>
• DIV Tag
• Is used to define section in html document. It is used to group large section
of HTML elements together and format them with cascading style sheet.
• ALIGN :possible values are center, left, right. And default value is left.
• STYLE: used to include inline cascading style sheet.
• E.g. <DIV STYLE=“background-color:blue;text-align:right”>
• <p>helloworld</p>
• </DIV>
15
Marquee
• Is used to scroll text or image in different direction. The text placed
inside the marquee tag scrolls horizontally across the screen or the web
page.
• Attributes:
• behavior: indicate how the content will scroll. The possible values are
scroll, slide and alternate.
• BGCOLOR
• DIRECTION
16
Cont….
• Height: Indicate height of marquee.
• HSPACE: use to set the horizontal space to the left and right of the
marque and its value is given in pixels.
• Loop : use to specify the number of times the marquee will scroll and its
default value is INFINITE.
• SCROLLDELAY and SCROLLAMOUNt : it is used together with
SCROLLAMOUNT to set the speed of scrolling. Marquee display the
content and then delay for some period of time specified in
SCROLLDELAY. Its value is given in milliseconds and its default value
is 85.
• WIDTH
• VSPACE : use to set the vertical space at the top and bottom of the
marquee and it is given in pixels.
• <MARQUEE BEHAVIOR=SLIDE HEIGHT=25 WIDTH=300
BGCOLOR=RED HSPACE=15 VSPACE=25 DIRECTION=UP>
17
18

More Related Content

What's hot

Basics of HTML
Basics of HTMLBasics of HTML
Basics of HTML
Anshuman Tandon
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
Abhishek Kesharwani
 
CSS- Cascading Style Sheet
CSS- Cascading Style SheetCSS- Cascading Style Sheet
CSS- Cascading Style Sheet
Codewizacademy
 
How to create basic webpage
How to create basic webpageHow to create basic webpage
How to create basic webpage
James Erro
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
Arunima Education Foundation
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Meghan Frisco
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
eShikshak
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
Abhishek Kesharwani
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
Codewizacademy
 
Styling with CSS
Styling with CSSStyling with CSS
Styling with CSS
Mike Crabb
 
Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niaz
ikram niaz
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
Nisa Soomro
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1
Danny Ambrosio
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
Eliran Eliassy
 
HTML By K.Sasidhar
HTML By K.SasidharHTML By K.Sasidhar
HTML By K.Sasidhar
Sasidhar Kothuru
 
CSS Frameworks
CSS FrameworksCSS Frameworks
CSS Frameworks
Mike Crabb
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
Grayzon Gonzales, LPT
 
Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentation
umesh patil
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
Dave Kelly
 
Web development using html 5
Web development using html 5Web development using html 5
Web development using html 5
Anjan Mahanta
 

What's hot (20)

Basics of HTML
Basics of HTMLBasics of HTML
Basics of HTML
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
CSS- Cascading Style Sheet
CSS- Cascading Style SheetCSS- Cascading Style Sheet
CSS- Cascading Style Sheet
 
How to create basic webpage
How to create basic webpageHow to create basic webpage
How to create basic webpage
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 
Styling with CSS
Styling with CSSStyling with CSS
Styling with CSS
 
Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niaz
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
HTML By K.Sasidhar
HTML By K.SasidharHTML By K.Sasidhar
HTML By K.Sasidhar
 
CSS Frameworks
CSS FrameworksCSS Frameworks
CSS Frameworks
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
 
Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentation
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
 
Web development using html 5
Web development using html 5Web development using html 5
Web development using html 5
 

Similar to Web fundamental concept and tags

Basics ogHtml
Basics ogHtml Basics ogHtml
Basics ogHtml
rohitkumar2468
 
WEB PROGRAMMING- Web page creation using HTML Tags
WEB PROGRAMMING-  Web page creation using HTML TagsWEB PROGRAMMING-  Web page creation using HTML Tags
WEB PROGRAMMING- Web page creation using HTML Tags
jananisairam
 
HTML-INTRO.pptx
HTML-INTRO.pptxHTML-INTRO.pptx
HTML-INTRO.pptx
SanjayKumarBahuguna1
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
ShubhamIngale28
 
Html
HtmlHtml
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
charvivij
 
html
htmlhtml
html
tumetr1
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
vaseemshaik21
 
Html cia
Html ciaHtml cia
introdution-to-htmlppt.ppt
introdution-to-htmlppt.pptintrodution-to-htmlppt.ppt
introdution-to-htmlppt.ppt
navyar41
 
Week-1_PPT_WEBAPPS-done.pptx
Week-1_PPT_WEBAPPS-done.pptxWeek-1_PPT_WEBAPPS-done.pptx
Week-1_PPT_WEBAPPS-done.pptx
JuvyIlustrisimo
 
introduction-to-html hyper text markup .ppt
introduction-to-html hyper text markup  .pptintroduction-to-html hyper text markup  .ppt
introduction-to-html hyper text markup .ppt
ubaidullah75790
 
Html and css
Html and cssHtml and css
Html and css
Sukrit Gupta
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
BagHarki
 
Html
HtmlHtml
Lab1_HTML.pptx
Lab1_HTML.pptxLab1_HTML.pptx
Lab1_HTML.pptx
IslamGhonimi1
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
Stefan Oprea
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheets
Zafer Galip Ozberk
 
Lecture 2 introduction to html basics
Lecture 2 introduction to html basicsLecture 2 introduction to html basics
Lecture 2 introduction to html basics
AliMUSSA3
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
mmvidanes29
 

Similar to Web fundamental concept and tags (20)

Basics ogHtml
Basics ogHtml Basics ogHtml
Basics ogHtml
 
WEB PROGRAMMING- Web page creation using HTML Tags
WEB PROGRAMMING-  Web page creation using HTML TagsWEB PROGRAMMING-  Web page creation using HTML Tags
WEB PROGRAMMING- Web page creation using HTML Tags
 
HTML-INTRO.pptx
HTML-INTRO.pptxHTML-INTRO.pptx
HTML-INTRO.pptx
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
 
Html
HtmlHtml
Html
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
html
htmlhtml
html
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Html cia
Html ciaHtml cia
Html cia
 
introdution-to-htmlppt.ppt
introdution-to-htmlppt.pptintrodution-to-htmlppt.ppt
introdution-to-htmlppt.ppt
 
Week-1_PPT_WEBAPPS-done.pptx
Week-1_PPT_WEBAPPS-done.pptxWeek-1_PPT_WEBAPPS-done.pptx
Week-1_PPT_WEBAPPS-done.pptx
 
introduction-to-html hyper text markup .ppt
introduction-to-html hyper text markup  .pptintroduction-to-html hyper text markup  .ppt
introduction-to-html hyper text markup .ppt
 
Html and css
Html and cssHtml and css
Html and css
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
 
Html
HtmlHtml
Html
 
Lab1_HTML.pptx
Lab1_HTML.pptxLab1_HTML.pptx
Lab1_HTML.pptx
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheets
 
Lecture 2 introduction to html basics
Lecture 2 introduction to html basicsLecture 2 introduction to html basics
Lecture 2 introduction to html basics
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
 

Recently uploaded

Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussionPro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf
Frederic Leger
 
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
OECD Directorate for Financial and Enterprise Affairs
 
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij
 
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
OECD Directorate for Financial and Enterprise Affairs
 
XP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to LeadershipXP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to Leadership
samililja
 
Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...
Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...
Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...
SkillCertProExams
 
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussionPro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
Burning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdfBurning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdf
kkirkland2
 
Carrer goals.pptx and their importance in real life
Carrer goals.pptx  and their importance in real lifeCarrer goals.pptx  and their importance in real life
Carrer goals.pptx and their importance in real life
artemacademy2
 
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfWhy Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Ben Linders
 
Tom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issueTom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issue
amekonnen
 
Gregory Harris - Cycle 2 - Civics Presentation
Gregory Harris - Cycle 2 - Civics PresentationGregory Harris - Cycle 2 - Civics Presentation
Gregory Harris - Cycle 2 - Civics Presentation
gharris9
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
 
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussionArtificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
ASONAM2023_presection_slide_track-recommendation.pdf
ASONAM2023_presection_slide_track-recommendation.pdfASONAM2023_presection_slide_track-recommendation.pdf
ASONAM2023_presection_slide_track-recommendation.pdf
ToshihiroIto4
 
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie WellsCollapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Rosie Wells
 
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussionArtificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
gpww3sf4
 
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdfBRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
Robin Haunschild
 

Recently uploaded (20)

Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussionPro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
 
2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf
 
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
 
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
 
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
 
XP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to LeadershipXP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to Leadership
 
Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...
Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...
Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...
 
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussionPro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
 
Burning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdfBurning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdf
 
Carrer goals.pptx and their importance in real life
Carrer goals.pptx  and their importance in real lifeCarrer goals.pptx  and their importance in real life
Carrer goals.pptx and their importance in real life
 
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfWhy Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
 
Tom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issueTom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issue
 
Gregory Harris - Cycle 2 - Civics Presentation
Gregory Harris - Cycle 2 - Civics PresentationGregory Harris - Cycle 2 - Civics Presentation
Gregory Harris - Cycle 2 - Civics Presentation
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
 
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussionArtificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
 
ASONAM2023_presection_slide_track-recommendation.pdf
ASONAM2023_presection_slide_track-recommendation.pdfASONAM2023_presection_slide_track-recommendation.pdf
ASONAM2023_presection_slide_track-recommendation.pdf
 
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie WellsCollapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
 
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussionArtificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
 
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
 
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdfBRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
 

Web fundamental concept and tags

  • 1. COS 423 Theory of Algorithms • Kevin Wayne • Spring 2007 Web Programming
  • 2. Internet and world wide web • HTML  Short for HyperText Markup Language, the authoring languageused to create documents on the World Wide Web.  First developed by Tim Berners-Lee in 1990, HTML is short for HyperText Markup Language. HTML is used to create electronic documents (called pages) that are displayed on the World Wide Web. Each page contains a series of connections to other pages called hyperlinks. Every web page you see on the Internet is written using one version of HTML code or another. 2
  • 3. Tag  HTML commands are known as tag and surrounded by <and>. Html tags are normally comes in pairs.  <!DOCTYPE html>  <html>  <body>  This is my first web page  </body>  </html> 3
  • 4. Elements and Attributes • Elements • Elements are command that tell a browser to do something. Such as <H1>. • Attributes • Tags can also have attributes, which are extra bits of information. Attributes appear inside the opening tag and their values sit inside quotation marks. They look something like • <tag attribute="value">Margarine</tag>. • We will come across tags with attributes later. 4
  • 5. Benefits of HTML • Simplicity • Platform independent • Easy navigation • Easier to read and understand 5
  • 6. Web page creation using HTML • Text editor : use to write html command using any text editor such as notepad or WordPad. • Web browser: it is used to test the webpage. 6
  • 7. Basic structure • <HTML> • <Head> }head section use to identify the heading or title of document.. The title tag appear in this section • </head> • <body> } body section • </body> • </HTML> 7
  • 8. A simple program • <HTML> • <Head> use to heading or title of program • <Title> use to indicate title of a program • my first program • </Title> • </head> • <body> body of program • Hello • </body> • </HTML> Save program with name.html 8
  • 9. Body tag attributes • BGCOLOR specifies the background color of the web page. E.g. <body BGCOLOR= “red“ TEXT =“yellow"> • BACKGROUND specifies the background picture of web page. E.g. <body BACKGROUND= “MY.png“ TEXT =“yellow"> • TEXT specify text color. 9
  • 10. HEADINGS • Is a very important body tag and use to display headings. • Align is used to specifies the alignment of heading. The possible values are center, left and right. • <H1 ALIGN= “center“ > first heading </H1> Sample code • <HTML> • <body> • <H1 ALIGN= “center“ > first heading </H1> • <H2> first heading </H2> • </body> • </HTML> 10
  • 11. Paragraph : a body tag • <p ALIGN= “center“ > first paragraph </p> • Sample code 11
  • 12. Line break • Use to decide where the txt will be break using <BR> tag. A <BR> tag has no closing tag. • sample code • <HTML> • <body> • Use to decide where the txt will be break <BR> use to move control to the next line <BR> it is used to end a line without inserting a paragraph <BR> and it has no closing tag. • </body> • </HTML> 12
  • 13. Horizontal line • Use to separate different area of web page. It is used to display a horizontal line in the page using <HR> tag and this tag has no closing tag. • ALIGN: is used to specify the alignment such as center, left, right. Line appear in center by default. • SIZE: specify the size of line. • WIDTH: specify the width of line. • NOSHADE: turn off shading of line. • COLOR: specify the color of line • E.g. • <HR WIDTH=40 align=“center” size=4> 13
  • 14. Text Formatting • Bold : <B> bold </B> • Italic : <I> ITALIC </I> • Underline : <U> </U> • Superscript: <SUP> </SUP> • E.g. N <SUP> 2 </SUP> • Subscript <SUB> </SUB> • E.g. N<SUB>2</SUB> 14
  • 15. FONT • Is used to specify the characteristic of font such as typeface, size color etc. the possible vales of face are “ARIAL”, “ARIAL BLACK”, “COURIER ”, and “MS Sans Serif”. • Big and Small tag • Use to change the size of text. • e,.g. • <BIG>HELLO</BIG> • <SMALL>HELLO</SMALL> • DIV Tag • Is used to define section in html document. It is used to group large section of HTML elements together and format them with cascading style sheet. • ALIGN :possible values are center, left, right. And default value is left. • STYLE: used to include inline cascading style sheet. • E.g. <DIV STYLE=“background-color:blue;text-align:right”> • <p>helloworld</p> • </DIV> 15
  • 16. Marquee • Is used to scroll text or image in different direction. The text placed inside the marquee tag scrolls horizontally across the screen or the web page. • Attributes: • behavior: indicate how the content will scroll. The possible values are scroll, slide and alternate. • BGCOLOR • DIRECTION 16
  • 17. Cont…. • Height: Indicate height of marquee. • HSPACE: use to set the horizontal space to the left and right of the marque and its value is given in pixels. • Loop : use to specify the number of times the marquee will scroll and its default value is INFINITE. • SCROLLDELAY and SCROLLAMOUNt : it is used together with SCROLLAMOUNT to set the speed of scrolling. Marquee display the content and then delay for some period of time specified in SCROLLDELAY. Its value is given in milliseconds and its default value is 85. • WIDTH • VSPACE : use to set the vertical space at the top and bottom of the marquee and it is given in pixels. • <MARQUEE BEHAVIOR=SLIDE HEIGHT=25 WIDTH=300 BGCOLOR=RED HSPACE=15 VSPACE=25 DIRECTION=UP> 17
  • 18. 18