SlideShare uma empresa Scribd logo
1 de 26
STATIC WEB DOCUMENTS
CONTENTS:
1. Introduction
2. HTML
3. Advantages Of Markup Language
4. Hyperlinks
5. Forms of HTML
6. XML and XSL
7. XHTML
8. Differences between HTML and XHTML
12/16/15
INTRODUCTION:-
The basis of web is transferring web pages from server to client.
Web pages are static , that is just files sitting on some server and
waiting to be retrieved.
For example, video is a static web page because it is just a file.
HTML-The Hyper Text Markup Language
Web pages are currently written in language called HTML.
It allows users to produce web pages that include text , graphics,and
pointer to other web pages.
It is used to describe how the documents are formatted.
Markup language contains explicit commands for formatting.
For example,
<b> - means start boldface mode,
</b> - leave boldface mode.
Advantage of Markup language
Markup language over one with no explicit markup is that writing a
browser for it is straight forward , i.e. the browser simply has to
understand the markup commands.
TeX and Troff are well known examples of markup languages.
By embedding the markup commands within each HTML file and
standardizing them , its becomes possible for any web browser to read
and reformat any web pages.
Reformatting web pages is crucial because page may be produced in
1600x1200 window with 24-bit colour but may have to be displayed in
640x320 window configured for 8-bit colour.
 HTML documents can be written in with any standard editor, and also
special HTML editor or word processor.
 A web page consists of head and body, enclosed by <html> and
</html>.
As we can see above head is bracketed by <head> and </head> and
body is bracketed by <body> and </body> tags.
The strings inside the tags are called directives.
Most of the browsers have a menu item VIEW SOURCE which displays
the current page’s HTML source, instead of its formatted output.
Tags can be either lower case and upper case
Example:<head> or <HEAD>- both are same
But newer versions require lower case only.
HTML parses ignore extra spaces extra space and carriage returns since
they have to reformat the text to make if fit the current display area.
Some tags have parameters called attributes
For example, <img src="abc”alt=“foobar”> is a tag ,<img>, with
parameter src set equal to abc and parameter alt set equal to foobar.
where src-gives URL of image,<img> tag specifies image to be displayed
in current position in the page.
In practice all browsers support GIF and JPEG files.
12/16/15
 Other parameters of image are align- which controls the alignment of
image.
 Technically , HTML documents are written in the ISO 8859-1 Latin-1
character set, but for users whose keyboard support only ASCII,
escape sequences are present for special characters, such as e`.
 All of them begin with & and end with semicolon (;).
 For example, &nbsp –produces a space.
 Headings are generated by an <hn> where n is digit in the range 1 to
6.(<h1> to <h6>)
 The lowered numbered heading displayed in a larger and heavier font.
 The browser may also choose different colour for each level of
heading.
 If the browser is not capable displaying boldface and italics, it must
use other methods for rendering them.
 For example using a different colour for each or perhaps reverse
video.
The formatted web page
12/16/15
HTML tags:
12/16/15
HYPERLINKS:
 This uses the <a> (anchor) and </a> tags.
 <a> has also parameters like herf(the URL) and name(the hyperlinks
name)
 The text between <a> and</a> is displayed.
 If it is selected, the hyperlink is followed to a new page.
 It is also permitted to put an image there and also by clicking on
image hyperlink activates.
 For example,
<a herf=” http://www.nasagov ”>NASA’s home page</a>.
 It displays the following
NASA’s home page
12/16/15
 A second example
<a href=“http://www.nasagov”><img src=“shuttle.gif” alt=”nasa”></a>
 When displayed the page shows a picture ,by clicking on it it switches
to NASA’s home page.
 HTML keeps evolving ,HTML 1.0,HTML 2.0 did not have tables but they
were added in HTML 3.0.
 A HTML table consists of one or more rows each consisting of one or
more cells.
 Cells contain a wide range of material , including text ,figures ,icons ,
photographs and even other tables.
 Cells can be merged, for example headings can span multiple
coloumns
12/16/15
HTML table definition
12/16/15
POSSIBLE RENDITION OF HTML TABLE
12/16/15
 This example just shows the few basic features of HTML tags.
 Tables are started by the <table> tag.
 <caption> tag- used to provide caption.
 <tr>-table row(row begins with this tag).
 <th>(table header) or <td>(table data)-individual cells are marked.
 Numerous attributes are also allowed in tables.
 They include way to specify horizontal and vertical cell alignments
 The HTML 4.0 there are more features added.
 These include accessibility features for handicapped users,other
object embedding support for scripting languages.
 when website consists many pages produced by multiple authorsnin
same company,it is oftendesirable to have a way to prevent different
pages from having a different appereance
 This problem can be solved by style sheets, when these are used
individual pages no longer use physical styles sucha s
boldfaces,italics.
12/16/15
FORMS OF HTML:
 HTML Forms are used to select different kinds of user input.
 A form is an area that can contain form elements.
 Form elements are elements that allow the user to enter information
like,
 1. text fields,
 2. text area fields,
 3. drop-down menus,
 4.radio buttons,
 5. checkboxes,
 6. Action Attribute and the Submit Button,etc.
12/16/15
 Text Fields:
 Text fields are used when you want the user to type
letters, numbers, etc. in a form.
 Example :
 <form>
 First name: <input type="text" name="firstname" /> <br />
 Last name: <input type="text" name="lastname" />
 </form>
 Output:
12/16/15
First name :
Last name :
 Radio Buttons :
 <form>
 <input type="radio" name="sex" value="male" /> Male <br />
 <input type="radio" name="sex" value="female" /> Female
 </form>
 Checkboxes :
 <form>
 Bike: <input type="checkbox" name="vehicle" value="Bike"/> <br />
 Car: <input type="checkbox" name="vehicle" value="Car"/><br />
 </form>
12/16/15
Male
Female
Bike
Car
 Action Attribute and the Submit Button :
 When the user clicks on the "Submit" button, the content of the form
is sent to the server.
 The form's action attribute defines the name of the file to send the
content to.
 It depends on PHP File.
 <form name="input" action="html_form_submit.asp" method="get">
 Username:<input type="text" name="user"/>
 <input type="submit" value="Submit" />
 </form>
XML and XSL:
 HTML without forms does not provide any structure to web pages.
 It also mixes the content with formatting.
 An e-commerce and applications become more common, there is an
increasing need for structuring web pages and separating the content from
formatting.
 With web pages in html, it is very difficult for a program to figure out where
the title is and the price is.
 For the above reason W3C has developed an enhancement to HTML to allow
web pages to be structured for automated processing.
 Two new languages has been developed for this purpose .
 1.XML-eXtensible markup language-describes web content in a structured way
 2.XSL-eXtensible style language-describes the formatting independently of
the content.
 Consider an XML document.
 It defines a structure called book_list,which Is a list of books.
 Each book has three fields, the title ,author, and year of publication.
 It is permitted to have repeated fields, optional fields and alternative feilds.
 Each of three fields are permitted to have sub fields.
12/16/15
 In above example it is described how to display the page on the screen.
 To provide formatting information we use second file,book_list.xsl.
 This file is the style sheet that tells how to display the page
 An XSl file for formatting XML document is given below
 The XML and XSL specifications are much stricter than HTML
specification.
 They state that rejecting syntactically incorrect files is mandatory ,
even if browser can determine what the web designer meant.
 A browser that accepts an incorrect XML or XSL file and repairs itself
will be rejected in a conformance test.
 Browsers are allowed to pinpoint the error.
 Web pages in XML and XSL are still static since they simply contain
instruction to the browser how to display the web pages.
 XML can be used for other purposes other than describing web pages.
 One of the use of it is language for communication between
application programs.
 SOAP(Simple Object Access Protocol) is a way for performing RPCs
between applications in language and system independent way.
 The client sends XML message to server using HTTP protocol and
server sends reply as an XML formatted message. 12/16/15
XHTML-eXtended HyperText Markup
Language
 HTML keeps evolving to meet the new demands.
 The next step of HTML 4.0 is a language that is very picky.
 It is called XHTML-(The eXtended HyperText Markup Language) rather
than HTML 5 because it is essentially HTML 4 is reformulated in XML.
 XHTML is a new web standard and should be used for all new web
pages to achieve maximum portability across platform and browsers.
12/16/15
Differences between HTML and XHTML:
1. HTML pages and browsers must strictly conform to the standard . No
more shoddy web pages and this is inherited from XML.
2. All tags and attributes must be in lower case . Tags like<HTML> are
not allowed in XHTML . The use of tags<html> is mandatory.
3. Closing tags are required even for </p>.For tags that have no natural
closing tag such ad <br>,<hr> ,<img> ,a slash much preceede the
closing”>”.
4. Attributes must be contained within quotation marks.
5. Tags must nest properly . Tags must be closed in inverse order that
they were opened.
6. Every document must specify its document type.
12/16/15
THANK YOU
by
K.BHASHWITHA - 26 (1210313226)
N.KRUPA - 27 (1210313227)
K.KAVYA - 28 (1210313228)
K.MEGHANA - 29 (1210313229)
K.AKHIL REDDY - 30 (1210313230)

Mais conteúdo relacionado

Mais procurados

Websites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly WebsitesWebsites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly Websiteswebsiteunlimited
 
Web architecture - overview of techniques.
Web architecture - overview of  techniques.Web architecture - overview of  techniques.
Web architecture - overview of techniques.Ruslan Shevchenko
 
Industrial training report
Industrial training report Industrial training report
Industrial training report Akash Kr Sinha
 
Website development courses
Website development coursesWebsite development courses
Website development coursesOSK IT SOLUTION
 
The Evolution of the Webbroadcast
The Evolution of the WebbroadcastThe Evolution of the Webbroadcast
The Evolution of the WebbroadcastJason Bengtson
 
Ncp computer appls web tech asish
Ncp computer appls  web tech asishNcp computer appls  web tech asish
Ncp computer appls web tech asishNCP
 
World wide web architecture presentation
World wide web architecture presentationWorld wide web architecture presentation
World wide web architecture presentationImMe Khan
 
The Internet Explained To Your Mum In 5 Slides
The Internet Explained To Your Mum In 5 SlidesThe Internet Explained To Your Mum In 5 Slides
The Internet Explained To Your Mum In 5 SlidesMarcello Brivio
 
CBIS 327 ~ Introduction
CBIS 327 ~ IntroductionCBIS 327 ~ Introduction
CBIS 327 ~ Introductionmwarrick
 
Basic web designing
Basic web designingBasic web designing
Basic web designingSiya Agarwal
 
Website creat website
Website creat website Website creat website
Website creat website EslamSaper1
 
Web Design Basics and HTML
Web Design Basics and HTMLWeb Design Basics and HTML
Web Design Basics and HTMLRajesh Sanabada
 
Mengelola isi halaman web 5 eng
Mengelola isi halaman web 5 engMengelola isi halaman web 5 eng
Mengelola isi halaman web 5 engEko Supriyadi
 
Web development using html and wordpress
Web development using html and wordpressWeb development using html and wordpress
Web development using html and wordpressDakshata Gavand
 
how create e_commerce website using php as a tool
how create e_commerce website using php as a toolhow create e_commerce website using php as a tool
how create e_commerce website using php as a toolShubham Patel
 

Mais procurados (20)

Websites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly WebsitesWebsites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly Websites
 
Web architecture - overview of techniques.
Web architecture - overview of  techniques.Web architecture - overview of  techniques.
Web architecture - overview of techniques.
 
Industrial training report
Industrial training report Industrial training report
Industrial training report
 
Website development courses
Website development coursesWebsite development courses
Website development courses
 
The Evolution of the Webbroadcast
The Evolution of the WebbroadcastThe Evolution of the Webbroadcast
The Evolution of the Webbroadcast
 
Website
WebsiteWebsite
Website
 
Ncp computer appls web tech asish
Ncp computer appls  web tech asishNcp computer appls  web tech asish
Ncp computer appls web tech asish
 
World wide web architecture presentation
World wide web architecture presentationWorld wide web architecture presentation
World wide web architecture presentation
 
The Internet Explained To Your Mum In 5 Slides
The Internet Explained To Your Mum In 5 SlidesThe Internet Explained To Your Mum In 5 Slides
The Internet Explained To Your Mum In 5 Slides
 
CBIS 327 ~ Introduction
CBIS 327 ~ IntroductionCBIS 327 ~ Introduction
CBIS 327 ~ Introduction
 
Basic web designing
Basic web designingBasic web designing
Basic web designing
 
CS6501 - Internet programming
CS6501 - Internet programming   CS6501 - Internet programming
CS6501 - Internet programming
 
The internet
The internetThe internet
The internet
 
Website creat website
Website creat website Website creat website
Website creat website
 
Web architecture
Web architectureWeb architecture
Web architecture
 
Web Design Basics and HTML
Web Design Basics and HTMLWeb Design Basics and HTML
Web Design Basics and HTML
 
Mengelola isi halaman web 5 eng
Mengelola isi halaman web 5 engMengelola isi halaman web 5 eng
Mengelola isi halaman web 5 eng
 
HTML 5
HTML 5HTML 5
HTML 5
 
Web development using html and wordpress
Web development using html and wordpressWeb development using html and wordpress
Web development using html and wordpress
 
how create e_commerce website using php as a tool
how create e_commerce website using php as a toolhow create e_commerce website using php as a tool
how create e_commerce website using php as a tool
 

Semelhante a Static web documents

What is html xml and xhtml
What is html xml and xhtmlWhat is html xml and xhtml
What is html xml and xhtmlFkdiMl
 
Web Engineering UNIT III as per RGPV Syllabus
Web Engineering UNIT III as per RGPV SyllabusWeb Engineering UNIT III as per RGPV Syllabus
Web Engineering UNIT III as per RGPV SyllabusNANDINI SHARMA
 
Web engineering notes unit 3
Web engineering notes unit 3Web engineering notes unit 3
Web engineering notes unit 3inshu1890
 
Web Development From the Ground Up, a Series for Novice ...
Web Development From the Ground Up, a Series for Novice ...Web Development From the Ground Up, a Series for Novice ...
Web Development From the Ground Up, a Series for Novice ...webhostingguy
 
Introdution to HTML
Introdution to HTMLIntrodution to HTML
Introdution to HTMLyashh1402
 
Markup language classification, designing static and dynamic
Markup language classification, designing static and dynamicMarkup language classification, designing static and dynamic
Markup language classification, designing static and dynamicAnkita Bhalla
 
Vskills angular js sample material
Vskills angular js sample materialVskills angular js sample material
Vskills angular js sample materialVskills
 
Vskills certified html designer Notes
Vskills certified html designer NotesVskills certified html designer Notes
Vskills certified html designer NotesVskills
 
Xml For Dummies Chapter 4 Adding Xhtml For The Web
Xml For Dummies   Chapter 4 Adding Xhtml For The WebXml For Dummies   Chapter 4 Adding Xhtml For The Web
Xml For Dummies Chapter 4 Adding Xhtml For The Webphanleson
 
Internet programming notes
Internet programming notesInternet programming notes
Internet programming notesDurgadevi palani
 
The Difference between HTML, XHTML & HTML5 for Beginners
The Difference between HTML, XHTML & HTML5 for BeginnersThe Difference between HTML, XHTML & HTML5 for Beginners
The Difference between HTML, XHTML & HTML5 for BeginnersRasin Bekkevold
 

Semelhante a Static web documents (20)

What is html xml and xhtml
What is html xml and xhtmlWhat is html xml and xhtml
What is html xml and xhtml
 
Web Engineering UNIT III as per RGPV Syllabus
Web Engineering UNIT III as per RGPV SyllabusWeb Engineering UNIT III as per RGPV Syllabus
Web Engineering UNIT III as per RGPV Syllabus
 
Web engineering notes unit 3
Web engineering notes unit 3Web engineering notes unit 3
Web engineering notes unit 3
 
Web Development From the Ground Up, a Series for Novice ...
Web Development From the Ground Up, a Series for Novice ...Web Development From the Ground Up, a Series for Novice ...
Web Development From the Ground Up, a Series for Novice ...
 
Over view of html
Over view of htmlOver view of html
Over view of html
 
Introdution to HTML
Introdution to HTMLIntrodution to HTML
Introdution to HTML
 
Xml
XmlXml
Xml
 
Markup language classification, designing static and dynamic
Markup language classification, designing static and dynamicMarkup language classification, designing static and dynamic
Markup language classification, designing static and dynamic
 
Vskills angular js sample material
Vskills angular js sample materialVskills angular js sample material
Vskills angular js sample material
 
Module 1
Module 1Module 1
Module 1
 
Vskills certified html designer Notes
Vskills certified html designer NotesVskills certified html designer Notes
Vskills certified html designer Notes
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
Xml
XmlXml
Xml
 
light_xml
light_xmllight_xml
light_xml
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
 
Xml For Dummies Chapter 4 Adding Xhtml For The Web
Xml For Dummies   Chapter 4 Adding Xhtml For The WebXml For Dummies   Chapter 4 Adding Xhtml For The Web
Xml For Dummies Chapter 4 Adding Xhtml For The Web
 
XML - The Extensible Markup Language
XML - The Extensible Markup LanguageXML - The Extensible Markup Language
XML - The Extensible Markup Language
 
Internet programming notes
Internet programming notesInternet programming notes
Internet programming notes
 
Html book2
Html book2Html book2
Html book2
 
The Difference between HTML, XHTML & HTML5 for Beginners
The Difference between HTML, XHTML & HTML5 for BeginnersThe Difference between HTML, XHTML & HTML5 for Beginners
The Difference between HTML, XHTML & HTML5 for Beginners
 

Último

Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 

Último (20)

Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 

Static web documents

  • 2. CONTENTS: 1. Introduction 2. HTML 3. Advantages Of Markup Language 4. Hyperlinks 5. Forms of HTML 6. XML and XSL 7. XHTML 8. Differences between HTML and XHTML 12/16/15
  • 3. INTRODUCTION:- The basis of web is transferring web pages from server to client. Web pages are static , that is just files sitting on some server and waiting to be retrieved. For example, video is a static web page because it is just a file.
  • 4. HTML-The Hyper Text Markup Language Web pages are currently written in language called HTML. It allows users to produce web pages that include text , graphics,and pointer to other web pages. It is used to describe how the documents are formatted. Markup language contains explicit commands for formatting. For example, <b> - means start boldface mode, </b> - leave boldface mode.
  • 5. Advantage of Markup language Markup language over one with no explicit markup is that writing a browser for it is straight forward , i.e. the browser simply has to understand the markup commands. TeX and Troff are well known examples of markup languages. By embedding the markup commands within each HTML file and standardizing them , its becomes possible for any web browser to read and reformat any web pages. Reformatting web pages is crucial because page may be produced in 1600x1200 window with 24-bit colour but may have to be displayed in 640x320 window configured for 8-bit colour.
  • 6.  HTML documents can be written in with any standard editor, and also special HTML editor or word processor.  A web page consists of head and body, enclosed by <html> and </html>.
  • 7. As we can see above head is bracketed by <head> and </head> and body is bracketed by <body> and </body> tags. The strings inside the tags are called directives. Most of the browsers have a menu item VIEW SOURCE which displays the current page’s HTML source, instead of its formatted output. Tags can be either lower case and upper case Example:<head> or <HEAD>- both are same But newer versions require lower case only. HTML parses ignore extra spaces extra space and carriage returns since they have to reformat the text to make if fit the current display area. Some tags have parameters called attributes For example, <img src="abc”alt=“foobar”> is a tag ,<img>, with parameter src set equal to abc and parameter alt set equal to foobar. where src-gives URL of image,<img> tag specifies image to be displayed in current position in the page. In practice all browsers support GIF and JPEG files.
  • 8. 12/16/15  Other parameters of image are align- which controls the alignment of image.  Technically , HTML documents are written in the ISO 8859-1 Latin-1 character set, but for users whose keyboard support only ASCII, escape sequences are present for special characters, such as e`.  All of them begin with & and end with semicolon (;).  For example, &nbsp –produces a space.  Headings are generated by an <hn> where n is digit in the range 1 to 6.(<h1> to <h6>)  The lowered numbered heading displayed in a larger and heavier font.  The browser may also choose different colour for each level of heading.  If the browser is not capable displaying boldface and italics, it must use other methods for rendering them.  For example using a different colour for each or perhaps reverse video.
  • 9. The formatted web page 12/16/15
  • 11. HYPERLINKS:  This uses the <a> (anchor) and </a> tags.  <a> has also parameters like herf(the URL) and name(the hyperlinks name)  The text between <a> and</a> is displayed.  If it is selected, the hyperlink is followed to a new page.  It is also permitted to put an image there and also by clicking on image hyperlink activates.  For example, <a herf=” http://www.nasagov ”>NASA’s home page</a>.  It displays the following NASA’s home page 12/16/15
  • 12.  A second example <a href=“http://www.nasagov”><img src=“shuttle.gif” alt=”nasa”></a>  When displayed the page shows a picture ,by clicking on it it switches to NASA’s home page.  HTML keeps evolving ,HTML 1.0,HTML 2.0 did not have tables but they were added in HTML 3.0.  A HTML table consists of one or more rows each consisting of one or more cells.  Cells contain a wide range of material , including text ,figures ,icons , photographs and even other tables.  Cells can be merged, for example headings can span multiple coloumns 12/16/15
  • 14. POSSIBLE RENDITION OF HTML TABLE 12/16/15
  • 15.  This example just shows the few basic features of HTML tags.  Tables are started by the <table> tag.  <caption> tag- used to provide caption.  <tr>-table row(row begins with this tag).  <th>(table header) or <td>(table data)-individual cells are marked.  Numerous attributes are also allowed in tables.  They include way to specify horizontal and vertical cell alignments  The HTML 4.0 there are more features added.  These include accessibility features for handicapped users,other object embedding support for scripting languages.  when website consists many pages produced by multiple authorsnin same company,it is oftendesirable to have a way to prevent different pages from having a different appereance  This problem can be solved by style sheets, when these are used individual pages no longer use physical styles sucha s boldfaces,italics. 12/16/15
  • 16. FORMS OF HTML:  HTML Forms are used to select different kinds of user input.  A form is an area that can contain form elements.  Form elements are elements that allow the user to enter information like,  1. text fields,  2. text area fields,  3. drop-down menus,  4.radio buttons,  5. checkboxes,  6. Action Attribute and the Submit Button,etc. 12/16/15
  • 17.  Text Fields:  Text fields are used when you want the user to type letters, numbers, etc. in a form.  Example :  <form>  First name: <input type="text" name="firstname" /> <br />  Last name: <input type="text" name="lastname" />  </form>  Output: 12/16/15 First name : Last name :
  • 18.  Radio Buttons :  <form>  <input type="radio" name="sex" value="male" /> Male <br />  <input type="radio" name="sex" value="female" /> Female  </form>  Checkboxes :  <form>  Bike: <input type="checkbox" name="vehicle" value="Bike"/> <br />  Car: <input type="checkbox" name="vehicle" value="Car"/><br />  </form> 12/16/15 Male Female Bike Car
  • 19.  Action Attribute and the Submit Button :  When the user clicks on the "Submit" button, the content of the form is sent to the server.  The form's action attribute defines the name of the file to send the content to.  It depends on PHP File.  <form name="input" action="html_form_submit.asp" method="get">  Username:<input type="text" name="user"/>  <input type="submit" value="Submit" />  </form>
  • 20. XML and XSL:  HTML without forms does not provide any structure to web pages.  It also mixes the content with formatting.  An e-commerce and applications become more common, there is an increasing need for structuring web pages and separating the content from formatting.  With web pages in html, it is very difficult for a program to figure out where the title is and the price is.  For the above reason W3C has developed an enhancement to HTML to allow web pages to be structured for automated processing.  Two new languages has been developed for this purpose .  1.XML-eXtensible markup language-describes web content in a structured way  2.XSL-eXtensible style language-describes the formatting independently of the content.
  • 21.  Consider an XML document.  It defines a structure called book_list,which Is a list of books.  Each book has three fields, the title ,author, and year of publication.  It is permitted to have repeated fields, optional fields and alternative feilds.  Each of three fields are permitted to have sub fields. 12/16/15
  • 22.  In above example it is described how to display the page on the screen.  To provide formatting information we use second file,book_list.xsl.  This file is the style sheet that tells how to display the page  An XSl file for formatting XML document is given below
  • 23.  The XML and XSL specifications are much stricter than HTML specification.  They state that rejecting syntactically incorrect files is mandatory , even if browser can determine what the web designer meant.  A browser that accepts an incorrect XML or XSL file and repairs itself will be rejected in a conformance test.  Browsers are allowed to pinpoint the error.  Web pages in XML and XSL are still static since they simply contain instruction to the browser how to display the web pages.  XML can be used for other purposes other than describing web pages.  One of the use of it is language for communication between application programs.  SOAP(Simple Object Access Protocol) is a way for performing RPCs between applications in language and system independent way.  The client sends XML message to server using HTTP protocol and server sends reply as an XML formatted message. 12/16/15
  • 24. XHTML-eXtended HyperText Markup Language  HTML keeps evolving to meet the new demands.  The next step of HTML 4.0 is a language that is very picky.  It is called XHTML-(The eXtended HyperText Markup Language) rather than HTML 5 because it is essentially HTML 4 is reformulated in XML.  XHTML is a new web standard and should be used for all new web pages to achieve maximum portability across platform and browsers. 12/16/15
  • 25. Differences between HTML and XHTML: 1. HTML pages and browsers must strictly conform to the standard . No more shoddy web pages and this is inherited from XML. 2. All tags and attributes must be in lower case . Tags like<HTML> are not allowed in XHTML . The use of tags<html> is mandatory. 3. Closing tags are required even for </p>.For tags that have no natural closing tag such ad <br>,<hr> ,<img> ,a slash much preceede the closing”>”. 4. Attributes must be contained within quotation marks. 5. Tags must nest properly . Tags must be closed in inverse order that they were opened. 6. Every document must specify its document type. 12/16/15
  • 26. THANK YOU by K.BHASHWITHA - 26 (1210313226) N.KRUPA - 27 (1210313227) K.KAVYA - 28 (1210313228) K.MEGHANA - 29 (1210313229) K.AKHIL REDDY - 30 (1210313230)