Rss Feed Like Us on facebook Google Plus

September 4, 2013

Semantics : HTML5 Features

Semantics is one of the most distinctive features of the Web Platform versus other application platforms. Developers usually ignore or de-prioritize such feature but the mastery of it can bring many benefits to our projects.

The Web is text and text has a meaning. Ultimately the content that our browsers read is pure text. Web sites and web applications have been created in an ecosystem where text based content is linkable, searchable and mashable. In the open web scenario our content can be shown, fed and remixed by third parties, search engines and accessibility tools. All these benefits don't come for free. 

Automated tools can only do half of the job at recognizing the nature of the content. The better job the developer does at marking the right semantics of the content the easier will be for the rest of the agents to deal with it. HTML5 provides a series of tools to make developers life easier too:
  • New media elements.
  • New structural elements.
  • New semantics for internationalization.
  • New link relation types.
  • New attributes.
  • New form types.
  • New microdata syntax for additional semantics.

New Semantic Elements in HTML5

Many of existing web sites today contains HTML code like this: <div id="nav">, <div class="header">, or <div id="footer">, to indicate navigation links, header, and footer.

HTML5 offers new semantic elements to clearly define different parts of a web page:
  • <header>
  • <nav>
  • <section>
  • <article>
  • <aside>
  • <figcaption>
  • <figure>
  • <footer>



HTML5 <section> Element

The <section> element defines a section in a document.
According to W3C,  "A section is a thematic grouping of content, typically with a heading."

Example:
<section>
  <h1>TECH IMPULSION</h1>
  <p>"A Comprehensive technology blog with great articles."</p>
</section>


HTML5 <article> Element

The <article> element specifies independent, self-contained content.

"An article should make sense on its own and it should be possible to distribute it independently from the rest of the web site."

Examples of where an <article> element can be used:

  •     Forum post
  •     Blog post
  •     News story
  •     Comment

Example:
<article>
  <h1>Microsoft Launches Internet Explorer 10</h1>
  <p>Windows Internet Explorer 10 (abbreviated as IE10) was released to
  the  public by Microsoft.....</p>
</article>

HTML5 <nav> Element

The <nav> element defines a set of navigation links.

"The <nav> element is intended for large blocks of navigation links. However, not all links in a document should be inside a <nav> element!"


Example:
<nav>
<a href="/html/">HTML</a> |
<a href="/css/">CSS</a> |
<a href="/js/">JavaScript</a> |
<a href="/jquery/">jQuery</a>
</nav>

HTML5 <aside> Element

"The <aside> element defines some content aside from the content it is placed in (like a sidebar)."

The aside content should be related to the surrounding content.


Example:
<p>My family and I visited The Epcot center this summer.</p>
 
<aside>
  <h4>Epcot Center</h4>
  <p>The Epcot Center is a theme park in Disney World, Florida.</p>
</aside>

HTML5 <header> Element

The <header> element specifies a header for a document or section.

"The <header> element should be used as a container for introductory content."

You can have several <header> elements in one document.

The following example defines a header for an article:

Example:
<article>
  <header>
    <h1>Internet Explorer 9</h1>
    <p><time pubdate datetime="2011-03-15"></time></p>
  </header>
  <p>Windows Internet Explorer 9 (abbreviated as IE9) was released to
  the  public on March 14, 2011 at 21:00 PDT.....</p>
</article>

HTML5 <footer> Element

The <footer> element specifies a footer for a document or section.

A <footer> element should contain information about its containing element.

"A footer typically contains the author of the document, copyright information, links to terms of use, contact information, etc."

You can have several <footer> elements in one document.

Example:
<footer>
  <p>Posted by: Azziet Singh</p>
  <p><time pubdate datetime="2012-03-01"></time></p>
</footer>

HTML5 <figure> and <figcaption> Elements

"The <figure> tag specifies self-contained content, like illustrations, diagrams, photos, code listings, etc."

While the content of the <figure> element is related to the main flow, its position is independent of the main flow, and if removed it should not affect the flow of the document.

The <figcaption> tag defines a caption for a <figure> element.

The <figcaption> element can be placed as the first or last child of the <figure> element.

Example:
<figure>
  <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228">
  <figcaption>Fig1. - The Pulpit Pock, Norway.</figcaption>
</figure>



Read More

September 3, 2013

Volcano Box Setup 2.1.9








Volcano Box v2.2.9 Update Setup Download

Download Now

How to Read MTK Android Full Flash in Factory Tool Format.
You have to perform as you read from here for Success !

1- Phone must be Rooted & Usb Debug On & Working Condition & Memory Card must be Inserted ( more than 2 Gb & 32 bit Formatted )
2- Plug phone with usb
3- Download VolcanoBox 2.2.9 & Extract it & Open it
4- Select MTK tab
5- Select One-Key Root
6- Select Back Flash
7- Select Folder to Save Flash file Backup in FACTORY Format
8- Do wait... Software will tell you Completed
It's ready now for Factory Tool Flasher to Flash your phone

  • Search & Download Latest Smart Phone Flash Tool ( MTK Original Flash tool )
  • Select Scatter File
  • Click on download


Wait for flashing and Your will be Done !

Read More

HTML5 Introduction

HTML5 is the 5th major revision of the core language of the World Wide Web: the Hypertext Markup Language (HTML). In this version, new features are introduced to help Web application authors, new elements are introduced based on research into prevailing authoring practices, and special attention has been given to defining clear conformance criteria for user agents in an effort to improve interoperability.
                                                                                                            W3.org

HTML5 is the ubiquitous platform for the web. Whether you're a mobile web developer, an enterprise with specific business needs, or a serious game dev looking to explore the web as a new platform, HTML5 has something for you! Choose your path: 
                                                                                                          HTML5 Rocks


HTML5 - New Features

Some of the most interesting new features in HTML5:
    HTML5 Powered with Connectivity / Realtime, CSS3 / Styling, Device Access, Multimedia, Semantics, and Offline & Storage
  • 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

Browser Support for HTML5

Mozilla Firefox, Google Chrome, Opera , Safari , IE 9+




Read More

August 30, 2013

Download Lemon B229 Flash File

Lemon B229 Flash File 16MB

Download

Detection initiated...
Vcc: null
Gnd: 2 4
Analyzing D+ and D-...
D+ = 6, D- = 8
Analyzing USB device, please wait...
Find USB device:SCI USB2Serial (COM5), (VID_1782&PID_4D00)





Read More

August 29, 2013

Error 0x80070522: A required privilege is not held by the client.

This Problem occurs when you copy files to c drive or any other drive. the error message comes and you are not able to copy files.

or any window software not able to generate files in C drive...
This issue might occur permissions are not set properly for the C Drive.
Make sure that you are logged in as Administrator.

To take ownership of C Drive, follow these steps:
  • Right-click the C Drive and then click Properties.
  •  Click the Security tab.
  • Click Advanced, and then click the Owner tab.
  • In the Name list, click your user name, or click Administrator if you are logged in as Administrator, or click the Administrators group.
  • Click on Edit and then put a check mark against "Replace all existing inheritable permissions on all descendants with inheritable permissions from this object".
  • Click OK, and then click Yes when you receive the following message:
  • This will replace explicitly defined permissions on all descendants of this object with inheritable permissions from C-Drive (C:).
  • Do you wish to continue?
  • Once the permissions are replaced, click on OK.
  • Check if you are able to copy, paste or delete any documents now.

OR you can try the steps below

If the above steps fail then you may also want to disable UAC and check if that helps.
  • Click Start, type msconfig in the start search box, and then press Enter.
  • If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
  • Click the Tools tab.
  • Click Disable UAC and then click Launch.
  • A command window appears, and shortly thereafter, a notification bubble appears informing you that UAC is disabled.
  • Click OK and restart your computer to apply the change.
OR you can try this (it will definitely solve your problem)
  • Reboot into Safe Mode.
  • Log on as Administrator.
  • Click Start
  • Type the three letters cmd
  • Press Ctrl+Shift+Enter
  • Run the process as Administrator.
  • Type the following commands and press Enter after each:

    takeown /f c:\ /a /r /d y
    cacls c:\  /t /c /g administrators:F  System:F  everyone:F
    (Answer "yes" when prompted "Are you sure?")


The commands will make you the owner of drive C: and will give full access to everyone to all of its folders.

Read More

JQuery ColorBox : Do Postback for inline HTML

While using JQuery Color Box with inline content , postback of submit button is not working...



CAUSE:
Color Box script generates an iframe for your target Page/Html.In case of inline content/html ColorBox generates an iframe outside the  <form> tag. As we all know to do postback we need  <form> tag. So in generated iframe HTML there is no  <form> tag available.

SOLUTION:
very simple hack , we have to just append the generated iframe html to <form> tag. checkout the below script.

SCRIPT

<script type="text/javascript">
        function cbox() {
            $.colorbox({ inline: true, width: "50%", href: "#inline_content", onOpen: AllowPostback });
        }
        function AllowPostback() {
            $("div#cboxOverlay").appendTo("form:first");
            $("div#colorbox").appendTo("form:first");
        }
    </script>

HTML

<div id='inline_content' style='padding:10px; background:#fff;'>
      <h2>Inline Content </h2>
      <input type="submit" id="btn" name="btn" />
</div>



Read More

August 25, 2013

GPG Dragon Box v3.27 Ready to download


GPG Dragon software updates to latest version automatically. It also provides detailed news, information and features for latest release if available with if a popup window.

If you face any error you can use the GPG Dragon v3.26 .
  • Add SPD 8825\6825 CPU Support [First in the World]
  • Add SPD 8825\6825 CPU Write Flash Support
  • Just Support Factory Flash PAC Format File
  • Move the MTK 6575 NAND Write Flash Support 0x840 page .
  • Add MTK android IMEI Change with USB Cable Support .
  • <Without Root\more easy do it!!!> 
  • Software Add Set Pinout Windows 
  • in Software Tools Add Dragon V2 software 
  • Add Reset Foramt for SPD android Phone [beta]


Reference:-
http://www.4shared.com/get/ixBiMR_a/Dragon_V327_new.html

Check out OLD Versions..
GPG Dragon Box v3.25
GPG Dragon Box v3.26 
Read More

August 24, 2013

Use More Than One Web.Config File : Asp.Net

If you have planned to have different Web.config files for sub-folders in the application root folder. It helps us to have small and easily maintainable configuration files.

System wide configuration settings are defined in the Machine.config for the .NET Framework. The Machine.config file is located in the  C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG
folder. The settings defined in this file are applicable to all ASP.NET applications in that system.

We can override these default settings by including a Web.config file in the application's root folder.

By including Web.config files in sub-folders, we can override the settings defined in the Web.config file in the application's root folder.

The following are sample section declarations from a Machine.config file:
<section name="processModel" 
  type="System.Web.Configuration.ProcessModelConfigurationHandler, 
        System.Web, Version=1.0.5000.0, Culture=neutral, 
        PublicKeyToken=b03f5f7f11d50a3a" 
  allowDefinition="MachineOnly"/>
 
<section name="sessionState" 
  type="System.Web.SessionState.SessionStateSectionHandler, 
        System.Web, Version=1.0.5000.0, Culture=neutral, 
        PublicKeyToken=b03f5f7f11d50a3a" 
  allowDefinition="MachineToApplication"/>
 
<section name="appSettings" 
  type="System.Configuration.NameValueFileSectionHandler, System,
        Version=1.0.5000.0, Culture=neutral, 
        PublicKeyToken=b77a5c561934e089"/>
There is an attribute allowDefinition specified in the first two section declarations with the values: MachineOnlyand MachineToApplication.

What it does mean?

If allowDefinition="MachineOnly", then we can not override this section either in application level or in folder level. The only section declared in the Machine.config file with this settings is processModel.

If allowDefinition="MachineToApplication", then we can override these sections by the root directoryWeb.config. Sections with this setting 
in Machine.config are authenticationmachineKeysessionStatetrust, and securityPolicy.
If allowDefinition attribute is omitted in a section declaration of the Machine.config file, we can override that section at any level.

We can override the section appSettings at any level and can access it by usingConfigurationSettings.AppSettings easily.


Read More

August 15, 2013

Auto Refresh an Asp.Net Web page


when You want to Refresh a web page automatically..
You can simply add following line of code in the Header section to enable auto refresh in an ASP.NET web page.
<meta http-equiv="refresh" content="15">
Where 15 refers to the number of seconds it will take before refreshing the page.
Also you can redirect to a specific page if you put the URL inside the tag.

<meta http equiv="refreshcontent="15;url=http://www.techimpulsion.in" >
In reality, this is standard HTML functionality and nothing specific to ASP.NET. The same effect of auto-refresh would be seen whether it is an ASP.NET page or just a HTML page, or a page made in Java, PHP, ColdFusion, Perl or the like.
More Preferential for Asp.net Developers

If you want to set the refresh time dynamically then that can be done in ASP.NET by adding server side code in the Page_Load function to set it, as shown below: 
Response.AppendHeader("Refresh", "15")
you can change the refresh time according to your requirement.
Read More

August 13, 2013

WMI failed to connect to local computer : error code 0x8007007e

 WMI failed to connect to local computer or you are unable to get the pahysical information of the system like mac addrss, ip address etc...
it is run by a dll file called -  wbmiscripting.dll
To resolve the problem follow these steps.....
1. Log onto Windows with an administrator account, click Start, type services.msc in the Start Search box
and press Enter.
2. In the right pane of the Service console, locate and right-click Windows Management Instrumentation, and then select Stop to stop the service.
3. Start Windows Explorer, and then locate the %SystemRoot%\System32\Wbem\Repository folder.
4. Backup and delete all the files in the %SystemRoot%\System32\Wbem\Repository folder.
5Restart the computer.
The files that were deleted will be re-created when the computer restarts.
Note: The Windows Management Instrumentation service starts automatically when you restart the computer.
If the issue persists, please re-register WMI DLL files and re-compile WMI mof files to check if the issue can be resolved. Here are the detailed steps:
Start cmd as administrator

Copy and paste
cd %windir%\system32\wbem press enter
after then copy and paste
for /f %s in ('dir /b *.dll') do regsvr32 /s %s press enter
after then copy and paste
for /f %s in ('dir /b *.mof') do mofcomp %s press enter
after then copy and paste
wmiprvse /regserver press enter

ReStart the Windows Management Instrumentation service .
Read More

August 11, 2013

Identify Your Real Zodiac Sign !

The 'real' signs after alteration

Astrological signs represent twelve equal segments or divisions of the zodiac. According to astrology, celestial phenomena reflect or govern human activity on the principle of "as above, so below", so that the twelve signs are held to represent twelve basic personality types or characteristic modes of expression.There are "sun" signs and "moon" signs, which both depend on your date of birth.
Washington, Jan 15 (IANS) Astronomers suggest an overhaul in the process of defining horoscope on the basis of one's birth date as the earth's position vis-a-vis the sun and other stars has changed since the astrological signs were determined over 2,000 years ago.

Apart from the existing 12 astrological signs, the experts include a 13th sign Ophiuchus, a formation which the ancient Babylonians discarded because they wanted 12 star signs.

According to astronomers, the 'real' dates of all the 12 astrological signs will be altered for about a period of 30 days.

Here are the 'real' dates of astrological signs:
  • Capricorn: Jan 20 to Feb 16.
  • Aquarius: Feb 16 to March 11.
  • Pisces: March 11 to April 18.
  • Aries: April 18 to May 13.
  • Taurus: May 13 to June 21.
  • Gemini: June 21 to July 20.
  • Cancer: July 20 to Aug 10.
  • Leo: Aug 10 to Sep 16.
  • Virgo: Sep 16 to Oct 30.
  • Libra: Oct 30 to Nov 23.
  • Scorpio: Nov 23 to 29.
  • Ophiuchus: Nov 29 to Dec 17.
  • Sagittarius: Dec 17 to Jan 20.
In Indian astrology, there are five elements: fire, earth, air, water and space. The master of fire is Mars, while Mercury is of earth, Saturn of air, Venus of water and Jupiter of space.
Jyotish astrology recognises twelve zodiac signs (Rāśi),that correspond to those in Western astrology. The relation of the signs to the elements is the same in the two systems.

N0. Sanskrit International Alphabet of Sanskrit Transliteration Sanskrit gloss Western name

Tattva (Element)
Ruling Planet
1 मेष Meṣa ram Aries

Tejas (Fire)
Mars
2 वृषभ Vṛṣabha bull Taurus

Prithivi (Earth)
Venus
3 मिथुन Mithuna twins Gemini

Vayu (Air)
Mercury
4 कर्कट Karkaṭa crab Cancer

Jala (Water)
Moon
5 सिंह Siṃha lion Leo

Tejas (Fire)
Sun
6 कन्या Kanyā girl Virgo

Prithivi (Earth)
Mercury
7 तुला Tulā balance Libra

Vayu (Air)
Venus
8 वृश्चिक Vṛścika scorpion Scorpio

Jala (Water)
Mars
9 धनुष Dhanus bow Sagittarius

Tejas (Fire)
Jupiter
10 मकर Makara sea-monster Capricorn

Prithivi (Earth)
Saturn
11 कुम्भ Kumbha pitcher Aquarius

Vayu (Air)
Saturn
12 मीन Mīna fish Pisces

Jala (Water)
Jupiter

The dates for these zodiac signs are those in sidereal astrology, different from those in Hellenistic tropical astrology. Aries begins at the date when the sun enters into the constellation Aries, taking into account the precession of the equinoxes, while in tropical astrology Aries begins at the vernal equinox.
Read More

© 2011-2016 Techimpulsion All Rights Reserved.


The content is copyrighted to Tech Impulsion and may not be reproduced on other websites.