Thursday 6 December 2012

WordPress address (URL) and Blog address (URL) problem

If you accidentally changed  WordPress address (URL) or Blog address (URL), and you cannot access your blog any more there is a easy solution to fix that problem by changing the option table in the WordPress database.

Changing the option settings in database is something you should do only in emegency situations.

Access the WordPress database using phpMyAdmin.
Find the table wp_options and change the value of  siteurl field :) Don’t change any other parametars in table wp_options, it’s much safer to change ptions from WordPress admin.

This will enable you to gain access to WordPress admin area using standard adress [blog adres]/wp-admin Thats all!

Wednesday 5 December 2012

The HTML5 Boilerplate

 The web’s most popular front-end template

HTML5 Boilerplate helps you build fast, robust, and adaptable web apps or sites. Kick-start your project with the combined knowledge and effort of 100s of developers, all in one little package.

html5 

Monday 3 December 2012

28 HTML5 features, tips and techniques you need to know

1. New Doctype

Even though annoying, impossible to remember XHTML document type?



       <DOCTYPE HTML PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN"
           "Http :/ / www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

If so, why? The transition to a new type of document HTML5. You will live longer - as Douglas Quaid might say.


       <! DOCTYPE HTML>

In fact, you know, it's really not even really necessary for HTML5? However, it is used for modern browsers, and older requiring this type of document. Browsers that do not understand this type of document, simply make content markup in standards mode. So, no worries, do not hesitate to throw caution to the wind and make a new document type HTML5.

2. The Figure Element

Consider the following image markup:
view plaincopy to clipboardprint?

       <img src="path/to/image" alt="About image" />
       <p> images of Mars. </ P>

There are, unfortunately, there is no easy way associated or semantic label wrapped in a paragraph tag with an image of the item itself. HTML5 will fix this with the introduction <figure> element. In combination with <figcaption> elements, we can now associate with the signature image semantics colleagues.
view plaincopy to clipboardprint?


       <figure>
           <img src="path/to/image" alt="About image" />
           <figcaption>
               <p> something interesting. </ P>
           </ Figcaption>
       </ Form>

 

Sunday 2 December 2012

HTML 5 and CSS 3

HTML 5 is the next major version of HTML. It introduces a bunch of new elements that will make our pages more semantic. This will make it a lot easier for search engines and screenreaders to navigate our pages, and improve the web experience for everyone. In addition, HTML 5 will also include fancy APIs for drawing graphics on screen, storing data offline, dragging and dropping, and a lot more. Let’s get started marking up the blog page

  1. <!doctype html>  
  2. <html>  
  3. <head>  
  4.     <title>Page title</title>  
  5. </head>  
  6. <body>  
  7.     <header>  
  8.         <h1>Page title</h1>  
  9.     </header>  
  10.     <nav>  
  11.         <!-- Navigation -->  
  12.     </nav>  
  13.     <section id="intro">  
  14.         <!-- Introduction -->  
  15.     </section>  
  16.     <section>  
  17.         <!-- Main content area -->  
  18.     </section>  
  19.     <aside>  
  20.         <!-- Sidebar -->  
  21.     </aside>  
  22.     <footer>  
  23.         <!-- Footer -->  
  24.     </footer>  
  25. </body>  
  26. </html>