Monday, 18 April 2016

What Are Basic Html Tags?

Basic HTML Tags 

The most important tags in HTML are tags that define headings, paragraphs and line breaks.
Basic HTML Tags Tag Description <html> Defines an HTML document  <body> Defines the document's body <h1> to <h6> Defines header 1 to header 6 <p> Defines a paragraph  <br> Inserts a single line break  <hr> Defines a horizontal rule <!--> Defines a comment   Headings Headings are defined with the <h1> to <h6> tags. <h1> defines the largest heading while <h6> defines the smallest.
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h4>This is a heading</h4>
<h5>This is a heading</h5>
<h6> This is a heading</h6>
HTML automatically adds an extra blank line before and after a heading. A useful heading attribute is align.
<h5 align="left">I can align headings </h5>
<h5 align="center">This is a centered heading </h5>
<h5 align="right">This is a heading aligned to the right </h5> 

Monday, 29 February 2016

What is Deference between HTML and XHTML?

Deference Between HTML And XHTML

From its very beginning, Hypertext Markup Language is what has made the World Wide Web possible. It both conveys the thoughts of the person who created the page and defines nearly every aspect of what we see on each and every web page visited. Like English, French, Spanish, Japanese, Russian, or any other language in use today, it is a living language, evolving and growing.


Early on, this growth was fast and sudden, with "features" often doing an end-run around the World Wide Web Consortium. Add to that the fact that many of the designers of web pages play fast and loose in an effort to have more content than the next guy. So what if some corners were cut? It was all about content, and content was king.



Enter XHTML, considered by some as an effort to reign in the Wild West approach to web development by making HTML a dialect of XML. XHTML came in three flavors: transitional, strict, and frameset, with each flavor offering either different capabilities or different degrees of conformance to the XML standard.

Learn about SUPERGLOBAL ARRAYS in PHP


Currently, two sets of built-in arrays contain the same information. One set of arrays, introduced in PHP 4.1.0, are called superglobals or autoglobals because they can be used anywhere, even inside a function.  The older arrays, with long names such as $HTTP_SERVER_VARS, must be made global before they can be used in an array. Unless you’re using an old version of PHP, use the newer arrays, those whose names begin with an underscore (_). The older arrays should be used only when you’re forced to use a version of PHP older than PHP 4.1.0.
A new php.ini setting introduced in PHP 5 allows you to prevent PHP from automatically creating the older, long arrays. It’s very unlikely that you will need to use them, unless you’re using some old scripts containing the long variables. The following line in php.ini controls this setting:
register_long_arrays = On

At the current time, this setting is On by default. Unless you’re running old scripts that need the old arrays, you should change the setting to Off so that PHP doesn’t do this extra work.


Although the setting is currently On by default, that could change. The default setting might change to Off in a future version. If you’re using some old scripts and getting errors on lines containing the long arrays, such as $HTTP_GET_ VARS, check your php.ini setting for long arrays. It might be Off, and the long arrays needed by the older script are not being created at all.


The built-in arrays are listed in Table 6-2, along with a short description. The use of specific arrays is described in detail in this book where the related subjects are described.

Most Trending

2016. Powered by Blogger.

Contact us

Name

Email *

Message *