Posts Tagged ‘HTML’

Web Development: 4 reasons to jump to HTML5

Friday, April 13th, 2012

Much of the coverage of HTML5 over the last couple of years has focused its role in the grand strategy of corporate combat: Will Apple standardize on HTML5? Is Google counteracting with its support of Flash? Lost in the maneuvering are the real technical accomplishments of HTML5, and the tactical opportunities they enable for individual organizations.

If you want to improve your search rankings, better support mobile readers, and transform your development process, it’s time to integrate HTML5 into your Web work.

First, a few words of clarification. "HTML5" is not a single product in the manner of, say, the 11g release of Oracle’s database management system. Instead, HTML5 is a collection of definitions, which, even in the narrowest sense, no existing Web browser fully supports, but all major Web browsers partially support.

More broadly, HTML5 includes not just HTML standards, but also the associated CSS3 (Cascading Style Sheets), JavaScript, multimedia codecs, and SVG (Scalable Vector Graphics) that work together to make the most of the new HTML definitions.

Of course, HTML5 might not be right for every organization at this point. Whether it’s justified for a specific situation requires detailed knowledge of end-users’ browsers, the parts of HTML5 used, and an organization’s goals for its Web presence.

No practical applications yet use all of HTML5. The compatibility of the parts you need, with the browsers your end-users run, and your server-side technology, is a matter for thoughtful consultation.

But, it’s safe to say that now is the time for most development shops to adopt HTML5, and to begin taking advantage of its four powerful benefits.

Read More:

http://www.infoworld.com/d/application-development/4-reasons-jump-html5-190670

Did you like this? Share it:

Microsoft Releases Web Development Technology Source Code

Friday, March 30th, 2012

The two projects are being made available via an Apache 2.0 license. They have their code repositories hosted on Microsoft’s CodePlex open source project site, leveraging Git version control, said Scott Guthrie, corporate vice president in the Microsoft server and tools business, in a blog post this week. ASP.Net Web API features a framework for building HTTP services for clients, including browsers and mobile devices; developers can build RESTful applications on Microsoft’s .Net Framework. ASP.Net Web Pages, also known as "Razor," enables the combining of server code with HTML to build dynamic Web content.

By hosting code repositories on CodePlex and releasing source code, Microsoft wants to increase transparency for these two projects; ASP.Net MVC, which already has been available under an open source license, will be hosted on CodePlex as well. "[Releasing source code and hosting the projects on CodePlex] will enable a more open development model where everyone in the community will be able to engage and provide feedback on code checkins, bug fixes, and new feature development, and build and test the products on a daily basis using the most up-to-date version of the source code and tests," Guthrie said.

Microsoft also will allow developers outside of Microsoft to submit patches and code for possible inclusion by the Microsoft development team, Guthrie said. "We announced a similar open development approach with the Windows Azure SDK last December and have found it to be a great way to build an even tighter feedback loop with developers — and ultimately deliver even better products as a result." ASP.Net MVC, Web API, and Razor will continue to be fully supported Microsoft products shipping as standalone products and also as part of the Visual Studio IDE.

Source: http://www.cio.com/article/703096

/Microsoft_Releases_Web_Development_Technology_Source_Code

Did you like this? Share it:

15 New Features of HTML5 You Should Know

Thursday, March 15th, 2012

I assume all of you may be familiar with HTML5, for such technology is discussed by lots of media. But can you name out the new features of HTML5? There are 15 features of HTML5 that you should know.

1. New Doctype

Many websites still use XHTML 1.0 at present and to declare the document type in the first line like this:

1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

In HTML5, the method used above will lose effectiveness. Here is the HTML5 method to declare:

1. <!DOCTYPE html>

2. No more types for scripts and links

On HTML4 or XHTML, you need to use the following lines of codes add CSS and JavaScript to your website.

1. <link rel="stylesheet" href="path/to/stylesheet.css" type="text/css" />

2. <script type="text/javascript" src="path/to/script.js"></script>

3. The semantic header and footer

In HTML4 or XHTML, you have to use the following codes to declare “Header” and “Footer”.

1. <div id="header">

2. …

3. </div>

4. ……….

5. <div id="footer">

6. …

7. </div>

In HTML5, you have two elements replacing the declaration above, to make the codes more brief.

1. <header>

2. …

3. </header>

4. <footer>

5. …

6. </footer>

4. Hgroup

In HTML5, there are some new elements introduced, and hgroup is one of these elements. Suppose there is a subhead under the head of my website, I can define them as <h1> and <h2> respectively. However, such definitions do not suggest the relation between the two heads. What is more, the tab <h2> will bring more problems, when there are other heads on the website.

In HTML5, we can use the hgroup element to group them, which will not affect the outline of the document.

1. <header>

2. <hgroup>

3. <h1> Recall Fan Page </h1>

4. <h2> Only for people who want the memory of a lifetime. </h2>

5. </hgroup>

6. </header>

5. Mark Element

You can use it as the highlight tab. The character string modified by this tab should be relevant to the actions of the user. For instance, when I search “Open your mind” in someone’s blog, I can use <mark> to modify the words found in the blog.

1. <h3> Search Results </h3>

2. <p> They were interrupted, just after Quato said, <mark>"Open your Mind"</mark>. </p>

6. Figure Element

In HTML4 or XHTML, such codes are used to modify the notes of images.

1. <img src="path/to/image" alt="About image" />

2. <p>Image of Mars. </p>

But the codes do not connect the words and the image. So HTML5 introduced the element <figure>. When using with <figcaption>, we can connect the notes with the relevant images semantically.

1. <figure>

2. <img src="path/to/image" alt="About image" />

3. <figcaption>

4. <p>This is an image of something interesting. </p>

5. </figcaption>

6. </figure>

7. <small> element redefined

In HTML4 or XHTML, the <small> element already exists. But there is no complete explanation about how to use this element properly. In HTML5, <small> is used to define small characters, just think about the copyright status on the bottom of the website.

8. Placeholder

In HTML4 or XHTML, you need to use JavaScript to add placeholders to the textbox. For example, you can set some information beforehand, and when the user begins to input, the words in the textbox will disappear.

But in HTML5, the new “placeholder” will simplify the problem.

9. Required Attribute

New attributes “required” in HTML5 determines whether the input is necessary. There are two ways to declare such attribute.

1. <input type="text" name="someInput" required>

2. <input type="text" name="someInput" required="required">

When the textbox is determined that it is necessary to be input, if it is blank, the table cannot be submitted.

1. <form method="post" action="">

2. <label for="someInput"> Your Name: </label>

3. <input type="text" id="someInput" name="someInput" placeholder="Douglas Quaid" required>

4. <button type="submit">Go</button>

5. </form>

In the example above, if there is no input and the table is submitted, the textbox will be highlighted.

10. Autofocus Attribute

The HTML5 method wipes off the needs for JavaScript. If the input should be “selection” or “autofocus”, mostly, we use the autofocus attribute.

1. <input type="text" name="someInput" placeholder="Douglas Quaid" required autofocus>

11. Audio Support

Now we have to use the third-party components to rendering audio. In HTML5, the element <audio> is introduced.

1. <audio autoplay="autoplay" controls="controls">

2. <source src="file.ogg" />

3. <source src="file.mp3" />

4. <a href="file.mp3">Download this file.</a>

5. </audio>

Two formats of audio are included when you use the element <audio>. Firefox needs the .ogg format, while the Webkit needs the .mp3 format. As usual, it does not support IE, and Opera10 and under version 10 only support .wav.

12. Video support

HTML5 not only contains the element <audio>, but also the element <video>. However, similar to <audio>, HTML5 does not appoint a certain video decoder; it leaves it to the browser to decide. Though Safari and Internet Explorer9 can support H.264 format videos, but Firefox and Opera still are persist in Theora and Vorbis format. Thus, when appointing videos in HTML5, you should provide both formats.

1. <video controls preload>

2. <source src="cohagenPhoneCall.ogv" type="video/ogg; codecs=’vorbis, theora’" />

3. <source src="cohagenPhoneCall.mp4" type="video/mp4; ‘codecs=’avc1.42E01E, mp4a.40.2′" />

4. <p> Your browser is old. <a href="cohagenPhoneCall.mp4">Download this video instead.</a> </p>

5. </video>

13. Preload attribute in videos element

When the users visit the website, this attribute enables the video to preload. To accomplish this function, you can add “preload= “preload”” or just “preload” in the element <video>.

1. <video preload>

14. Display Controls

If you have used every point mentioned above, you may have noticed that if you use the codes above, the video on the website appearing as an image with no control bar. To let the control bar appear, we should determine the attribute in the element <video>.

1. <video preload controls>

15. Regular Expressions

In HTML4 or XHTML, you need to use some regular expressions to check some certain texts. In HTML5, the new pattern attribute enables us to add a regular expression at the tab.

1. <form action="" method="post">

2. <label for="username">Create a Username: </label>

3. <input type="text"

4. name="username"

5. id="username"

6. placeholder="4 <> 10"

7. pattern="[A-Za-z]{4,10}"

8.     autofocus

9.     required>

10.<button type="submit">Go </button>

11.</form>

Conclusions

In fact, there are more new elements and attributes, and the points I mentioned above is the ones I think frequently used in the website development, and the rest are up to you to find out.

Did you like this? Share it:

HTML5 and CSS3: Elements That Are Safe to Use

Friday, February 3rd, 2012

With HTML5 and CSS all the rage with developers, particularly Web developers, a new site has emerged to advise them on the use of features in the programming languages. The HTML5 Please site offers expert advice on which features to use and not to use when developing apps. The site breaks its advice down into three categories: use, use with caution, and avoid. Additionally, it tells developers which features they should use with fallbacks or polyfills. The bottom line is that the new site gives developers recommendations on which HTML5 and CSS3 elements they can safely use to create apps and sites that are effectively supported across a range of browsers. Because HTML5 is a moving target and many of its elements are too new to safely use for cross-browser support, HTML Please is a welcome aid to developers who want to color inside the lines. The HTML5 Please site is a community project created by Divya Manian, Web opener for Opera Software; Paul Irish, developer programs engineer on the Google Chrome team; Tim Branyen, a software engineer at Bocoup; Connor Montgomery, a Web developer and computer science student at St. Louis University; and a host of others. This slide show takes a look at the HTML5 and CSS3 elements that HTML5 Please says are completely safe for developers to use.

Read More:

http://www.eweek.com/c/a/Application-Development/HTML5-and-CSS3-Elements-That-Are-Safe-to-Use-352183/

Did you like this? Share it:

HTML 5-The Facilitator of Mobile Web Applications

Friday, February 3rd, 2012

Mobile technology is constantly evolving. From the day iPhone made its debut in the stores, there has been a paradigm shift in the internet usage patterns. The swelling numbers of Smartphone users are displacing the internet usage from their desks to their pockets. And as this happen, HTML 5 is steadily becoming the universal language for coding the web and web apps, giving mobile users richer applications and usability than before.

HTML5 is the most advanced version of the markup language that comes with various advantages that are required for web application development and are used by mobile users basically. Some notable advantages of HTML5 are:

- Offline support- HTML5 supports offline browsing of data with the help of an offline cache. Developers, while building the site can specify the files that the browser should cache which helps in offline support of data along with faster web page loading.

- No Plug-ins- HTML5 will allow developers to keep space on a web page where they wish to put interactive content such as videos games etc. This will eliminate the need to install flash, silverlight and other plug-ins.

- Descriptive semantics- It is now easy to identify the parts of a page and understand the meaning of the specific part within a short period of time.

- Richer media elements- HTML 5 comes with special tags such as that can play multimedia content online without any plug-in and are fully programmable with JavaScript.

- Improved code- There will be lesser tags with HTML 5 which means cleaner coding.

- Geolocation support- is also supported in HTML 5. The JavaScript on the page can read your latitude and longitude and send it to the server to perform various functions.

Read More:

http://www.sbwire.com/press-releases/sbwire-125334.htm

Did you like this? Share it:

Flurry Adds HTML5 to Mobile Analytics Platform

Friday, February 3rd, 2012

Mobile analytics and monetization platform Flurry is adding a new vertical to its platform offering today. Recognizing the coming growth of mobile Web apps, Flurry will begin tracking HTML5 mobile Web apps starting with a beta software developer kit today.

Flurry supports five other mobile platforms. That includes BlackBerry, iOS, Android, Windows Phone and J2ME. Flurry notes a recent survey by Kony that says that 74% of Fortune 500 companies were planning on some type of HTML5 integration. Only 7%, however, said they would replace their native apps with HTML5. In an ecosystem that is becoming increasingly diverse, Flurry is making sure it can be everything to everybody.

Flurry is one of the companies that is directly benefiting from the explosive growth of the mobile app ecosystem. Since launching in 2008, the sessions that Flurry tracks have doubled every six months. At the end of 2011, the company had tracked more than 240 billion.

Read More:

http://www.readwriteweb.com/mobile/2012/02/flurry-adds-html5-to-mobile-an.php

Did you like this? Share it:

How WordPress CMS can benefit an organization?

Thursday, January 5th, 2012

WordPress is one of the most popular open source content management system used by many offshore software development companies which is freely available for download. WordPress need PHP and MYSQL support for installation to make a website. A website that is made in wordpress can be maintained very easily. WordPress provides user friendly interface that allows users to customize the website design and look easily. WordPress has an inbuilt template system so user can upload templates according to the need and can also re-arrange the widgets without any modification of the HTML code.                                                                                                  

Following are some of the benefits for using wordpress as a Content Management System-  

  1. Open source and free available
  2. Very easy to manage
  3. Multiple user login simultaneously
  4. Big online community
  5. Search Engine Optimization is easy

There are also many other benefits for using wordpress to make a site such as there are regular updates coming for it which can be applied on a single click. These updates make the wordpress site secure. Lots of plugins are available for different functionalities that can be installed directly from the dashboard of the wordpress. All the features make wordpress the most popular CMS.

Source: http://www.promotionworld.com/internet/articles/120104-how-wordpress-cms-can-benefit-an-organization

Did you like this? Share it:

Life after iWeb: The state of Web design on the Mac

Wednesday, December 28th, 2011

It hasn’t been a great year for iWeb users. Apple’s lone Web design app wasn’t updated with the release of iLife ’11, and future versions—much less a successor—are in doubt. Even if iWeb’s prospects are as bad as they seem, there’s more to creating websites on the Mac than just one program. Whether you’re looking for an easy-to-use iWeb replacement or a more sophisticated program with more powerful features for you and your site’s visitors, a host of applications is available for every skill level and budget. Here are some of the highlights and how current iWeb users could find them useful.

The iWeb problem

While iWeb may be unavailable on the Mac App Store, it’s still currently sold in boxed editions of the iLife ’11 suite. This summer, the app was updated to version 3.0.4, and will presumably keep working even after Apple ends MobileMe Web hosting on June 30, 2012. After that date, many iWeb users will have to find new hosts for their sites, but iWeb will still export to FTP and Finder folders.

Professional and prosumer options

If you’re ready to take your skills and sites to the next level, professional Web design software can help. These applications offer sophisticated WYSIWYG features, rich code editing tools, or both, and are aimed at building and maintaining complex sites. Dreamweaver CS5.5 ($400) is the choice of many Web design pros for designing cutting-edge sites using HTML, CSS, JavaScript, or PHP.

Source: http://www.macworld.com/article/163747/2011/12/life_after_iweb_the_state_of_web_design_on_the_mac.html

Did you like this? Share it:

Brief About XHTML and HTML

Monday, December 26th, 2011

QQ截图20111226093957 XHTML (eXtensible HyperText Markup Language) is an extended version of HTML (Hypertext Markup Language), which is used to script the web pages. Both the languages belong to XML (Extensible Markup Language) markup languages. XML is nothing but a set of rules and patterns, which are used to encode documents in machine-readable form. The job of XML is to transport and store data, while HTML and XHTML (which is clearer version of HTML) are used to display the data on web. HTML does not allow you to make your own tags, but XML does. In XML document, it is very easy to form tags. In HTML, there syntax for every tag and you have to write the tag according to the particular syntax so that you browser understand the same. So, both XML and HTML have their advantages and limitations. And that is when the idea of XHTML was conceptualized, which is however the extended version of HTML, but at the same time, incorporate several other technologies. Further, the language is little strict yet clear. XHTML elements must be properly nested and must be closed always. These should be written in lowercase and must be documented in one root element.

Benefits of XHTML Observed by Experts:

1. Sustainability and Easy Maintenance:  XML is one of the best markup languages built so far. XHTML sync with XML and hence it can go a long way in future. Further, with several strict rules being integrated with XHTML, it becomes easy to maintain. Some of these rules are:
Close the tag while putting non-empty elements, which can be terminated with a space or irregular slash.
Attribute value should be quoted
Attributes cannot be minimized
In strict XHTML, inline elements should be in block elements.

2. Perfect for Style Sheet Language:The Extensible Style sheet Language Transformations (XSLT) is used to transform XML documents. Since XHTML is compatible documents are compatible with XML, it allow you to:
Design table of content
Listing the language to understand the structures’ outline
Get printable version of the document
And produce RSS feed from your document directly.

3. XHTML can be learned and taught easily as it uses same syntax as used in HTML.

4. Once the language becomes a recommendation by W3C, XHTML 1.0 document will also become useful.

5. XHTML allows you to perform direct transformation to XML structures unlike HTML, where you cannot transform the date unless the HTML is well structured.

6. XHTML makes it simple to retrieve the information. You just need to know the correct structure of the document.

7. Experts are also of opinion that once the XHTML document start supporting the rules of XML after the language get recommendations by W3C, it will be efficient in handling applications.

8. Many people suggests, that since the XML, XHTML documents can be combined with other markup variants including MathML (Math Markup Language) SVG (Scalable Vector Graphics), it is easy to be extended.

Source: http://www.htmlfirm.com/blog/brief-about-xhtml-and-html/

Did you like this? Share it:

Top Web Developer Tools of 2011

Friday, December 9th, 2011

To be clear, this isn’t exclusively a list of tools that debuted in 2011. Instead, I wanted to look at some of the most popular and best tools for Web developers through 2011. Some debuted in 2011 and look destined to be popular and dependable tools for Web developers for some time to come. Others were already on the scene at the beginning of the year, but have obviously become or remained popular in 2011.

Basically, we’re looking to highlight tools that are innovative, widely used and/or wildly useful for Web developers.

jQuery and jQuery Mobile

No list of Web developer tools would be complete without jQuery, the ever-popular JavaScript library that we’ve covered extensively on ReadWriteHack.

Even Microsoft has made the case for jQuery and technology surveys show jQuery well in the lead for 2011, moving from 27% of sites surveyed in December 2010, to 42% in December 2011.

Modernize IE with CSS3 PIE

CSS3 PIE ("Progressive Internet Explorer") is meant to bring some of the spiffy CSS3 features to Internet Explorer. Want to see how it works? There’s a full list of demos and plenty of documentation for getting started. Naturally, the project is on GitHub, and it’s available under the GPLv2 and Apache 2 licenses.

Bootstrap

Bootstrap is pretty simple, it’s just CSS that provides a standard set of solutions for things developers need for Web sites and Web apps. Developers can use Bootstrap for prototyping, or organizations can standardize on Bootstrap (as Twitter has) to provide a uniform design across a set of sites/applications.

LESS

LESS is a dynamic stylesheet language that extends CSS to be much more expressive and easy to use. Standard CSS doesn’t support variables, functions, operators, and so on. LESS gives you the ability to do things that CSS ought to let you do.

Chrome Developer Tools

Chrome’s Developer Tools are based on WebKit’s Web Inspector but include a number of enhancements. The developer tools in Chrome are just a click or keystroke away, and give you the ability to do everything from edit HTML to view breakpoints in your script, perform remote debugging, and much more. The devtools also have an experimental API for those who’d like to extend the developer tools even farther.

Source: http://www.readwriteweb.com/archives/top_web_developer_tools_of_2011.php

Did you like this? Share it: