SlideShare uma empresa Scribd logo
1 de 8
Baixar para ler offline
International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5



                            Differences between HTML and HTML 5
                     1
                         T.N.Sharma, 2 Priyanka Bhardwaj, 3 Manish Bhardwaj


Abstract:
Web technology is a standard that allow developing web applications with the help of predefined sets of classes, objects,
methods and properties available in a markup language, style sheet language, or programming language. It also provides an
interface that allows the sharing of information between a Web server and its clients. HyperText Markup Language (HTML) is
the main markup language for web pages. HTML elements are the basic building-blocks of webpages. HTML standard were
and are created by World Wide Web consortium (W3C). HTML5 is markup language for structuring and presenting content for
the World Wide Web, and is a core technology of the Internet originally proposed by Opera Software .It is the fifth revision of
the HTML standard. There are lots of differences which are given in HTML 5. This paper presents some of the main
differences with the help of a few examples

Keywords : HTML, HTML5, WWW, Web Pages, Web Application

Introduction to Web Technologies:
Web technology is a standard that allows to develop Web applications with the help of predefined sets of classes, objects,
methods and properties available in a markup language ,style sheet language , or programming language. It also provides an
interface that allows the sharing of information between a Web server and its clients. Web server is a computer that stores
and hosts a website to make it available to its clients with the help of a specific URL link.

Using different Web Technologies, create professional looking websites can be created. Dynamic Web pages can also be
developed, which allow users to update, edit , and format the text and upload or replace images, photos, or videos without
the help of a Web Designer. Some common Web technologies to develop websites are HTML, Javascript, CSS, XML,
XHTML, AJAX, ASP.NET , PHP.

HTML was originally developed by Tim Berners-Lee while at CERN. While working at CERN, he became frustrated at
having to log on to different computers to find different information and thought that there must be a better way. He figured
that there must be a way to hop from one set of information to another that’s on different computers. This concept of a hyper-
text system (connected with the networking technology and protocols needed to pass information between computers) would go
on to form the basis for the fundamental language of the world wide web – HTML. HTML is a markup language used to create
Web pages. A markup language provides a way to describe the structure of text and graphics on a web page. HTML standard
were and are created by World Wide Web consortium (W3C). It is derived from a more general markup language called
Standard Generalized Markup Language (SGML), which is an International Organization for Standardization (ISO)
technology that defines markup languages.

HTML5 is markup language for structuring and presenting content for the World Wide Web, and is a core technology of the
Internet originally proposed by Opera Software .It is the fifth revision of the HTML standard (created in 1990 and standardized
as HTML4 as of 1997) and, as of August 2012, is still under development. Its core aims have been to improve the language
with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers
and devices (web browsers, parsers, etc.). HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the
Web Hypertext Application Technology Working Group (WHATWG).WHATWG was working with web forms and
applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.

Some rules for HTML5 were established:
    New features should be based on HTML, CSS, DOM, and JavaScript.
    Reduce the need for external plugins (like Flash).
    Better error handling.
    More markup to replace scripting.
    HTML5 should be device independent.
    The development process should be visible to the public.

Issn 2250-3005(online)                                    September| 2012                                   Page 1430
International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5



HTML5 - New Features
Some of the most interesting new features in HTML5:

 The <canvas> element for 2D drawing

    The <video> and <audio> elements for media playback
    Support for local storage
    New content-specific elements, like <article>, <footer>, <header>, <nav>, <section>
    New form controls, like calendar, date, time, email, url, search


Difference between HTML and HTML5:

                            HTML                                                     HTML5
             DOCTYPE is much longer as HTML4 is based on               DOCTYPE is required to enable standards mode
             SGML-based.                                               for HTML documents.

             <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
             4.01//EN"                                                 <!DOCTYPE html>
             "http://www.w3.org/TR/html4/strict.dtd”>

             Audio and Video are not part of HTML4 specification.      Audio and Videos are integral part of HTML5
                                                                       specifications e.g. <audio> and<video> tags.

             Vector Graphics is possible with the help of              Vector graphics is integral part of HTML5 e.g.
             technologies such as VML, Silverlight, Flash etc          SVG and canvas


             It is almost impossible to get true GeoLocation of user   JS GeoLocation API in HTML5 helps identify
             browsing any website especially if it comes to mobile     location of user browsing any website (provided
             devices.                                                  user allows it)


             Browser cache can be used as temporary storage.           Application Cache, Web SQL database and Web
                                                                       storage is available as client side storage.
                                                                       Accessible using JavaScript interface in HTML5
                                                                       compliant browsers.
             Web Sockets are not available. Generally used             Full duplex communication channels can be
             mechanisms are long polling and streaming.                established with Server using Web Sockets.
                                                                       Accessible using JavaScript interface in HTML5
                                                                       compliant browsers.


             Does not allow JavaScript to run in browser. JS runs in   Allows JavaScript to run in background. This is
             same thread as browser interface.                         possible due to JS Web worker API in HTML5


             Works with all old browsers                               Most of modern browser have started supporting
                                                                       HTML5 specification e.g. Firefox, Mozilla, Opera,
                                                                       Chrome, Safari etc.




Difference in Tags:
     <!DOCTYPE html> : In HTML 4.01, there are three different <!DOCTYPE> declarations but In HTML 5 there is
        only one
Issn 2250-3005(online)                                          September| 2012                                         Page 1431
International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5



                                              <! DOCTYPE html>

         <a >: In HTML 4.01, the <a> tag could be either a hyperlink or an anchor. In HTML5, the <a> tag is always a
          hyperlink, but if it has no href attribute, it is only a placeholder for a hyperlink.

         <acronym> : The <acronym> tag is not supported in HTML5. Use the <abbr> tag instead. The <acronym> tag was
          used to define acronyms in HTML 4.01.
         <applet>: The <applet> tag is not supported in HTML5. Use the <object> tag instead.
         <strong>: In HTML 4.01, the <strong> tag defines strong emphasized text, but in HTML5 it defines important text.
         <body> : In HTML5, all <body> specific attributes are removed, while in HTML 4.01 they were deprecated.
         <hr>: In HTML 4.01, the <hr> tag represented a horizontal rule. In HTML5, the <hr> tag defines a thematic break.
          The <hr> element is used to separate content (or define a change) in an HTML page.
         <map> : In HTML5, if the id attribute of the <map> tag is also specified, it must have the same value as the name
          attribute.
         <meta> : The scheme attribute is not supported in HTML5.

HTML5 has a new attribute, charset, which makes it easier to define charset:

         HTML 4.01: <Meta http-equiv="content-type" content="text/html; charset=UTF-8">

         HTML5 : <meta charset="UTF-8”>

         <script> : The "type" attribute is required in HTML 4, but optional in HTML5.
         <small > : In HTML 4.01 the small element is displayed as smaller text. In HTML5 the small element defines small
          text and other side comments, and is displayed as smaller text.
         <table>: Only the "border" attribute is supported in HTML5, and it only allows the values " " or "1".

New Semantic/Structural Elements

HTML5 offers new elements for better structure:

        Tag                 Description
        <article>           Defines an article
        <aside>             Defines content aside from the page content
        <bdi>               Isolates a part of text that might be formatted in a different direction from other text outside it
        <command>           Defines a command button that a user can invoke
        <details>           Defines additional details that the user can view or hide
        <summary>           Defines a visible heading for a <details> element
        <figure>            Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.
        <figcaption>        Defines a caption for a <figure> element
        <footer>            Defines a footer for a document or section
        <header>            Defines a header for a document or section
        <hgroup>            Groups a set of <h1> to <h6> elements when a heading has multiple levels
        <mark>              Defines marked/highlighted text
        <meter>             Defines a scalar measurement within a known range (a gauge)
        <nav>               Defines navigation links
        <progress>          Represents the progress of a task
        <ruby>              Defines a ruby annotation (for East Asian typography)
        <rt>                Defines an explanation/pronunciation of characters (for East Asian typography)

Issn 2250-3005(online)                                       September| 2012                                      Page 1432
International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5



      <rp>               Defines what to show in browsers that do not support ruby annotations
      <section>          Defines a section in a document
      <time>             Defines a date/time
      <wbr>              Defines a possible line-break

New Media Elements

HTML5 offers new elements for media content:

             Tag               Description
             <audio>           Defines sound content
             <video>           Defines a video or movie
             <source>          Defines multiple media resources for <video> and <audio>
             <embed>           Defines a container for an external application or interactive content (a plug-in)
             <track>           Defines text tracks for <video> and <audio>

Examples :

<video> :

<!DOCTYPE html>
<html>
<body>
<DIV id='abc' style="z-index:2; position:relative;
right:0px; top:10px;
background-color:#cccc33;
width:400px;
height:80px;
padding:10px;
color:White;
border:#ffffcc 1px dashed;
font-size:xx-large;">
LogicPace Technologies Pvt.Ltd,Jaipur</DIV><br>
<VIDEO src="atheora.ogv" width="320" height="240" controls autoplay>
</VIDEO>
</body>
</html>




Issn 2250-3005(online)                                 September| 2012                                      Page 1433
International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5




<audio>:

<!DOCTYPE html>
<html>
<body>
<DIV id='abc' style="z-index:2; position:relative;
  right:0px; top:10px;
  background-color:#cccc33;
  width:400px;
  height:80px;
  padding:10px;
  color:White;
  border:#ffffcc 1px dashed;
  font-size:xx-large;">
   LogicPace Technologies Pvt.Ltd,Jaipur</DIV><br>

<audio controls="controls">
 <source src="horse.ogg" type="audio/ogg" />
 <source src="horse.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>

</body>
</html>




Issn 2250-3005(online)                                  September| 2012                                   Page 1434
International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5



The new <canvas> Element

                   Tag                    Description
                   <canvas>               Used to draw graphics, on the fly, via scripting (usually JavaScript)

Example:

<!DOCTYPE html>
<html>
<body>
<DIV id='abc' style="z-index:2; position:relative;
   right:0px; top:10px;
   background-color:#cccc33;
   width:400px;
   height:80px;
   padding:10px;
   color:White;
   border:#ffffcc 1px dashed;
  font-size:xx-large;">
  LogicPace Technologies Pvt.Ltd,Jaipur</DIV><br>
 <div style=" font-size:x-large;
    background-color:maroon;
    color:White;
   border:#ffffcc 1px solid;
   width:200px;
   height:40px;">
  Canvas Example:</div><br>
  <canvas id="myCanvas" width="200" height="100" style="border:1px solid #c3c3c3;">
Your browser does not support the HTML5 canvas tag.
</canvas>

<script type="text/javascript">

var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
ctx.fillStyle="#FF0000";
ctx.fillRect(0,0,150,75);

</script>

</body>
</html>




Issn 2250-3005(online)                                      September| 2012                                       Page 1435
International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5



SVG: (Scalable Vector Graphics)

<!DOCTYPE html>
<html>
<body>
<DIV id='abc' style="z-index:2; position:relative;
   right:0px; top:10px;
   background-color:#cccc33;
   width:400px;
   height:80px;
   padding:10px;
   color:White;
   border:#ffffcc 1px dashed;
  font-size:xx-large;">
  LogicPace Technologies Pvt.Ltd,Jaipur</DIV><br>
 <div style=" font-size:x-large;
    background-color:maroon;
    color:White;
   border:#ffffcc 1px solid;
   width:200px;
   height:40px;">
  SVG Example:</div><br>


<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="190">
  <polygon points="100,10 40,180 190,60 10,60 160,180"
  style="fill:lime;stroke:purple;stroke-width:5;fill-rule:evenodd;" />
</svg>

</body>
</html>




New Form Elements

HTML5 offers new form elements, for more functionality:




Issn 2250-3005(online)                                    September| 2012                                Page 1436
International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5



                          Tag                  Description
                          <datalist>           Specifies a list of pre-defined options for input controls
                          <keygen>             Defines a key-pair generator field (for forms)
                          <output>             Defines the result of a calculation


Removed Elements

The following HTML elements are removed from HTML5:

        <acronym>
        <applet>
        <basefont>
        <big>
        <center>
        <dir>
        <font>
        <frame>
        <frameset>
        <noframes>
        <strike>
        <tt>

Conclusion:
HTML5 is being proved as one of the powerful tool for webpage design. With HTML5, streaming of audio and video without
need of third party plug-in such as flash is possible. Player controls can be created that are fully programmable with JavaScript.
In HTML5 we have new structural elements instead of traditional div tags to create page template, the final result will be a
cleaner and more organized code. HTML5 allows storing data locally from client side. The data can be accessed to support the
web application and it can even be accessed when the client is disconnected for a short period of time. There are methodologies
for storing data: session storage, local storage and database storage. HTML5 introduces new elements and features that allow
developers to improve interoperability, handling elements in a precise way saving time and costs.

Reference:
   http://www.html5arena.com
   http://www.oshyn.com
   http://www.w3schools.com
   http://www.trendmicro.com/cloud-content/us/pdfs/security-intelligence/reports/rpt_html5-attack-scenarios.pdf
   http://systemsintegration.searchsoa.com/SOA/kw;HTML+5/HTML+5/soa.htm
   Kogent Learning Solutions(2012). HTML 5 Black Book. DreamTech Press.




Issn 2250-3005(online)                                     September| 2012                                     Page 1437

Mais conteúdo relacionado

Mais procurados

HTML5 New Tags
HTML5 New TagsHTML5 New Tags
HTML5 New TagsDucat
 
Industrial training report
Industrial training report Industrial training report
Industrial training report Akash Kr Sinha
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examplesAlfredo Torre
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - IntroductionJoel Briza
 
Rc064 010d Core Html 1
Rc064 010d Core Html 1Rc064 010d Core Html 1
Rc064 010d Core Html 1troopergreen
 
HTML5 Tags and Elements Tutorial
HTML5 Tags and Elements TutorialHTML5 Tags and Elements Tutorial
HTML5 Tags and Elements TutorialProdigyView
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5IT Geeks
 
Html 5 New Features
Html 5 New FeaturesHtml 5 New Features
Html 5 New FeaturesAta Ebrahimi
 
HTML5 and Search Engine Optimization (SEO)
HTML5 and Search Engine Optimization (SEO)HTML5 and Search Engine Optimization (SEO)
HTML5 and Search Engine Optimization (SEO)Performics.Convonix
 
What the heck is HTML 5?
What the heck is HTML 5?What the heck is HTML 5?
What the heck is HTML 5?Simon Willison
 
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)Saltlux zinyus
 
HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersSascha Corti
 
Interview preparation net_asp_csharp
Interview preparation net_asp_csharpInterview preparation net_asp_csharp
Interview preparation net_asp_csharpMallikarjuna G D
 

Mais procurados (20)

HTML5 New Tags
HTML5 New TagsHTML5 New Tags
HTML5 New Tags
 
Industrial training report
Industrial training report Industrial training report
Industrial training report
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
 
Rc064 010d Core Html 1
Rc064 010d Core Html 1Rc064 010d Core Html 1
Rc064 010d Core Html 1
 
HTML5
HTML5HTML5
HTML5
 
Html 5 Features And Benefits
Html 5 Features And Benefits  Html 5 Features And Benefits
Html 5 Features And Benefits
 
HTML5 Tags and Elements Tutorial
HTML5 Tags and Elements TutorialHTML5 Tags and Elements Tutorial
HTML5 Tags and Elements Tutorial
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Html 5 New Features
Html 5 New FeaturesHtml 5 New Features
Html 5 New Features
 
Java part 3
Java part  3Java part  3
Java part 3
 
HTML5 and Search Engine Optimization (SEO)
HTML5 and Search Engine Optimization (SEO)HTML5 and Search Engine Optimization (SEO)
HTML5 and Search Engine Optimization (SEO)
 
About html
About htmlAbout html
About html
 
What the heck is HTML 5?
What the heck is HTML 5?What the heck is HTML 5?
What the heck is HTML 5?
 
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
 
HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web Developers
 
Html5
Html5Html5
Html5
 
HTML5
HTML5HTML5
HTML5
 
Interview preparation net_asp_csharp
Interview preparation net_asp_csharpInterview preparation net_asp_csharp
Interview preparation net_asp_csharp
 
Qnx html5 hmi
Qnx html5 hmiQnx html5 hmi
Qnx html5 hmi
 

Destaque

Html5 form attributes
Html5 form attributesHtml5 form attributes
Html5 form attributesOPENLANE
 
Pubcon Las Vegas 2012 CSS and HTML coding
Pubcon Las Vegas 2012 CSS and HTML codingPubcon Las Vegas 2012 CSS and HTML coding
Pubcon Las Vegas 2012 CSS and HTML codingTodd Keup
 
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldabaux singapore
 

Destaque (7)

HTML5
HTML5HTML5
HTML5
 
HTML5 Refresher
HTML5 RefresherHTML5 Refresher
HTML5 Refresher
 
Html5 form attributes
Html5 form attributesHtml5 form attributes
Html5 form attributes
 
Pubcon Las Vegas 2012 CSS and HTML coding
Pubcon Las Vegas 2012 CSS and HTML codingPubcon Las Vegas 2012 CSS and HTML coding
Pubcon Las Vegas 2012 CSS and HTML coding
 
Html5
Html5Html5
Html5
 
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
 
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job? Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
 

Semelhante a IJCER (www.ijceronline.com) International Journal of computational Engineering research

Semelhante a IJCER (www.ijceronline.com) International Journal of computational Engineering research (20)

Html5
Html5Html5
Html5
 
HTML5 and DHTML
HTML5 and DHTMLHTML5 and DHTML
HTML5 and DHTML
 
Everything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 minEverything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 min
 
Html5(2)
Html5(2)Html5(2)
Html5(2)
 
Html5(2)
Html5(2)Html5(2)
Html5(2)
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
HTML 5
HTML 5HTML 5
HTML 5
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Html 5
Html 5Html 5
Html 5
 
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
 
HTML5
HTML5HTML5
HTML5
 
MOHAN ppt.pptx
MOHAN ppt.pptxMOHAN ppt.pptx
MOHAN ppt.pptx
 
Developing with HTML5
Developing with HTML5Developing with HTML5
Developing with HTML5
 
HTML5 Introduction – Features and Resources for HTML5
HTML5 Introduction – Features and Resources for HTML5HTML5 Introduction – Features and Resources for HTML5
HTML5 Introduction – Features and Resources for HTML5
 
HTML5 Webinar - Mind Storm Software
HTML5 Webinar - Mind Storm SoftwareHTML5 Webinar - Mind Storm Software
HTML5 Webinar - Mind Storm Software
 

Último

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 

Último (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 

IJCER (www.ijceronline.com) International Journal of computational Engineering research

  • 1. International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5 Differences between HTML and HTML 5 1 T.N.Sharma, 2 Priyanka Bhardwaj, 3 Manish Bhardwaj Abstract: Web technology is a standard that allow developing web applications with the help of predefined sets of classes, objects, methods and properties available in a markup language, style sheet language, or programming language. It also provides an interface that allows the sharing of information between a Web server and its clients. HyperText Markup Language (HTML) is the main markup language for web pages. HTML elements are the basic building-blocks of webpages. HTML standard were and are created by World Wide Web consortium (W3C). HTML5 is markup language for structuring and presenting content for the World Wide Web, and is a core technology of the Internet originally proposed by Opera Software .It is the fifth revision of the HTML standard. There are lots of differences which are given in HTML 5. This paper presents some of the main differences with the help of a few examples Keywords : HTML, HTML5, WWW, Web Pages, Web Application Introduction to Web Technologies: Web technology is a standard that allows to develop Web applications with the help of predefined sets of classes, objects, methods and properties available in a markup language ,style sheet language , or programming language. It also provides an interface that allows the sharing of information between a Web server and its clients. Web server is a computer that stores and hosts a website to make it available to its clients with the help of a specific URL link. Using different Web Technologies, create professional looking websites can be created. Dynamic Web pages can also be developed, which allow users to update, edit , and format the text and upload or replace images, photos, or videos without the help of a Web Designer. Some common Web technologies to develop websites are HTML, Javascript, CSS, XML, XHTML, AJAX, ASP.NET , PHP. HTML was originally developed by Tim Berners-Lee while at CERN. While working at CERN, he became frustrated at having to log on to different computers to find different information and thought that there must be a better way. He figured that there must be a way to hop from one set of information to another that’s on different computers. This concept of a hyper- text system (connected with the networking technology and protocols needed to pass information between computers) would go on to form the basis for the fundamental language of the world wide web – HTML. HTML is a markup language used to create Web pages. A markup language provides a way to describe the structure of text and graphics on a web page. HTML standard were and are created by World Wide Web consortium (W3C). It is derived from a more general markup language called Standard Generalized Markup Language (SGML), which is an International Organization for Standardization (ISO) technology that defines markup languages. HTML5 is markup language for structuring and presenting content for the World Wide Web, and is a core technology of the Internet originally proposed by Opera Software .It is the fifth revision of the HTML standard (created in 1990 and standardized as HTML4 as of 1997) and, as of August 2012, is still under development. Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML. Some rules for HTML5 were established:  New features should be based on HTML, CSS, DOM, and JavaScript.  Reduce the need for external plugins (like Flash).  Better error handling.  More markup to replace scripting.  HTML5 should be device independent.  The development process should be visible to the public. Issn 2250-3005(online) September| 2012 Page 1430
  • 2. International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5 HTML5 - New Features Some of the most interesting new features in HTML5: The <canvas> element for 2D drawing  The <video> and <audio> elements for media playback  Support for local storage  New content-specific elements, like <article>, <footer>, <header>, <nav>, <section>  New form controls, like calendar, date, time, email, url, search Difference between HTML and HTML5: HTML HTML5 DOCTYPE is much longer as HTML4 is based on DOCTYPE is required to enable standards mode SGML-based. for HTML documents. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE html> "http://www.w3.org/TR/html4/strict.dtd”> Audio and Video are not part of HTML4 specification. Audio and Videos are integral part of HTML5 specifications e.g. <audio> and<video> tags. Vector Graphics is possible with the help of Vector graphics is integral part of HTML5 e.g. technologies such as VML, Silverlight, Flash etc SVG and canvas It is almost impossible to get true GeoLocation of user JS GeoLocation API in HTML5 helps identify browsing any website especially if it comes to mobile location of user browsing any website (provided devices. user allows it) Browser cache can be used as temporary storage. Application Cache, Web SQL database and Web storage is available as client side storage. Accessible using JavaScript interface in HTML5 compliant browsers. Web Sockets are not available. Generally used Full duplex communication channels can be mechanisms are long polling and streaming. established with Server using Web Sockets. Accessible using JavaScript interface in HTML5 compliant browsers. Does not allow JavaScript to run in browser. JS runs in Allows JavaScript to run in background. This is same thread as browser interface. possible due to JS Web worker API in HTML5 Works with all old browsers Most of modern browser have started supporting HTML5 specification e.g. Firefox, Mozilla, Opera, Chrome, Safari etc. Difference in Tags:  <!DOCTYPE html> : In HTML 4.01, there are three different <!DOCTYPE> declarations but In HTML 5 there is only one Issn 2250-3005(online) September| 2012 Page 1431
  • 3. International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5 <! DOCTYPE html>  <a >: In HTML 4.01, the <a> tag could be either a hyperlink or an anchor. In HTML5, the <a> tag is always a hyperlink, but if it has no href attribute, it is only a placeholder for a hyperlink.  <acronym> : The <acronym> tag is not supported in HTML5. Use the <abbr> tag instead. The <acronym> tag was used to define acronyms in HTML 4.01.  <applet>: The <applet> tag is not supported in HTML5. Use the <object> tag instead.  <strong>: In HTML 4.01, the <strong> tag defines strong emphasized text, but in HTML5 it defines important text.  <body> : In HTML5, all <body> specific attributes are removed, while in HTML 4.01 they were deprecated.  <hr>: In HTML 4.01, the <hr> tag represented a horizontal rule. In HTML5, the <hr> tag defines a thematic break. The <hr> element is used to separate content (or define a change) in an HTML page.  <map> : In HTML5, if the id attribute of the <map> tag is also specified, it must have the same value as the name attribute.  <meta> : The scheme attribute is not supported in HTML5. HTML5 has a new attribute, charset, which makes it easier to define charset: HTML 4.01: <Meta http-equiv="content-type" content="text/html; charset=UTF-8"> HTML5 : <meta charset="UTF-8”>  <script> : The "type" attribute is required in HTML 4, but optional in HTML5.  <small > : In HTML 4.01 the small element is displayed as smaller text. In HTML5 the small element defines small text and other side comments, and is displayed as smaller text.  <table>: Only the "border" attribute is supported in HTML5, and it only allows the values " " or "1". New Semantic/Structural Elements HTML5 offers new elements for better structure: Tag Description <article> Defines an article <aside> Defines content aside from the page content <bdi> Isolates a part of text that might be formatted in a different direction from other text outside it <command> Defines a command button that a user can invoke <details> Defines additional details that the user can view or hide <summary> Defines a visible heading for a <details> element <figure> Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc. <figcaption> Defines a caption for a <figure> element <footer> Defines a footer for a document or section <header> Defines a header for a document or section <hgroup> Groups a set of <h1> to <h6> elements when a heading has multiple levels <mark> Defines marked/highlighted text <meter> Defines a scalar measurement within a known range (a gauge) <nav> Defines navigation links <progress> Represents the progress of a task <ruby> Defines a ruby annotation (for East Asian typography) <rt> Defines an explanation/pronunciation of characters (for East Asian typography) Issn 2250-3005(online) September| 2012 Page 1432
  • 4. International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5 <rp> Defines what to show in browsers that do not support ruby annotations <section> Defines a section in a document <time> Defines a date/time <wbr> Defines a possible line-break New Media Elements HTML5 offers new elements for media content: Tag Description <audio> Defines sound content <video> Defines a video or movie <source> Defines multiple media resources for <video> and <audio> <embed> Defines a container for an external application or interactive content (a plug-in) <track> Defines text tracks for <video> and <audio> Examples : <video> : <!DOCTYPE html> <html> <body> <DIV id='abc' style="z-index:2; position:relative; right:0px; top:10px; background-color:#cccc33; width:400px; height:80px; padding:10px; color:White; border:#ffffcc 1px dashed; font-size:xx-large;"> LogicPace Technologies Pvt.Ltd,Jaipur</DIV><br> <VIDEO src="atheora.ogv" width="320" height="240" controls autoplay> </VIDEO> </body> </html> Issn 2250-3005(online) September| 2012 Page 1433
  • 5. International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5 <audio>: <!DOCTYPE html> <html> <body> <DIV id='abc' style="z-index:2; position:relative; right:0px; top:10px; background-color:#cccc33; width:400px; height:80px; padding:10px; color:White; border:#ffffcc 1px dashed; font-size:xx-large;"> LogicPace Technologies Pvt.Ltd,Jaipur</DIV><br> <audio controls="controls"> <source src="horse.ogg" type="audio/ogg" /> <source src="horse.mp3" type="audio/mpeg" /> Your browser does not support the audio element. </audio> </body> </html> Issn 2250-3005(online) September| 2012 Page 1434
  • 6. International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5 The new <canvas> Element Tag Description <canvas> Used to draw graphics, on the fly, via scripting (usually JavaScript) Example: <!DOCTYPE html> <html> <body> <DIV id='abc' style="z-index:2; position:relative; right:0px; top:10px; background-color:#cccc33; width:400px; height:80px; padding:10px; color:White; border:#ffffcc 1px dashed; font-size:xx-large;"> LogicPace Technologies Pvt.Ltd,Jaipur</DIV><br> <div style=" font-size:x-large; background-color:maroon; color:White; border:#ffffcc 1px solid; width:200px; height:40px;"> Canvas Example:</div><br> <canvas id="myCanvas" width="200" height="100" style="border:1px solid #c3c3c3;"> Your browser does not support the HTML5 canvas tag. </canvas> <script type="text/javascript"> var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.fillStyle="#FF0000"; ctx.fillRect(0,0,150,75); </script> </body> </html> Issn 2250-3005(online) September| 2012 Page 1435
  • 7. International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5 SVG: (Scalable Vector Graphics) <!DOCTYPE html> <html> <body> <DIV id='abc' style="z-index:2; position:relative; right:0px; top:10px; background-color:#cccc33; width:400px; height:80px; padding:10px; color:White; border:#ffffcc 1px dashed; font-size:xx-large;"> LogicPace Technologies Pvt.Ltd,Jaipur</DIV><br> <div style=" font-size:x-large; background-color:maroon; color:White; border:#ffffcc 1px solid; width:200px; height:40px;"> SVG Example:</div><br> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="190"> <polygon points="100,10 40,180 190,60 10,60 160,180" style="fill:lime;stroke:purple;stroke-width:5;fill-rule:evenodd;" /> </svg> </body> </html> New Form Elements HTML5 offers new form elements, for more functionality: Issn 2250-3005(online) September| 2012 Page 1436
  • 8. International Journal Of Computational Engineering Research (ijceronline.com) Vol. 2 Issue. 5 Tag Description <datalist> Specifies a list of pre-defined options for input controls <keygen> Defines a key-pair generator field (for forms) <output> Defines the result of a calculation Removed Elements The following HTML elements are removed from HTML5:  <acronym>  <applet>  <basefont>  <big>  <center>  <dir>  <font>  <frame>  <frameset>  <noframes>  <strike>  <tt> Conclusion: HTML5 is being proved as one of the powerful tool for webpage design. With HTML5, streaming of audio and video without need of third party plug-in such as flash is possible. Player controls can be created that are fully programmable with JavaScript. In HTML5 we have new structural elements instead of traditional div tags to create page template, the final result will be a cleaner and more organized code. HTML5 allows storing data locally from client side. The data can be accessed to support the web application and it can even be accessed when the client is disconnected for a short period of time. There are methodologies for storing data: session storage, local storage and database storage. HTML5 introduces new elements and features that allow developers to improve interoperability, handling elements in a precise way saving time and costs. Reference:  http://www.html5arena.com  http://www.oshyn.com  http://www.w3schools.com  http://www.trendmicro.com/cloud-content/us/pdfs/security-intelligence/reports/rpt_html5-attack-scenarios.pdf  http://systemsintegration.searchsoa.com/SOA/kw;HTML+5/HTML+5/soa.htm  Kogent Learning Solutions(2012). HTML 5 Black Book. DreamTech Press. Issn 2250-3005(online) September| 2012 Page 1437