Posts Tagged ‘HTML’

HTML Introduction | HTML Definition

HTML Introduction HTML is a language used to write web page code. A webpage is having a unique URL (or address) on the internet. HTML full form is Hyper Text Markup Language in other word HTML is a Abrivation of Hyper Text Markup Language. Every web page on the internet is coded in HTML language […]

HTML Page Structure | Basic Web Page Syntax Format

HTML Page Structure HTML Page Structure is nothing but the web page format ideally every page should look like. Basic Structure of HTML page is actually created with some basic HTML tags like <html>, <head>, <body>, and <title> tags. Example 1 – HTML Basic Page format or HTML page normal syntax is given below. The […]

History of HTML | Latest Version HTML5

History of HTML The journey of HTML is started from 1989 when Tim Berners-Lee work on the development of www. The first Specifications of HTML is introduced in 1991 by Tim Berners-Lee, at that time the HTML language features are very basic, called HTML 1.0. HTML Version List HTML 1.0 was just developed to have […]

HTML Doctype Declaration | DTD definition in HTML5

HTML Doctype Declaration HTML Doctype is an instruction to the browser to display the page according to the version of HTML. It must be on top of the page, means it must be first statement in any HTML web page. Syntax in HTML5 is <!DOCTYPE html>. Warning: HTML Doctype Declaration is the first line of […]

HTML Attributes & Tags Definition Meaning

HTML Attributes HTML Attributes supply additional information to the HTML tag. Many times it is used to enhance the capability, look and feel of the HTML Elements. HTML Attributes Definition It is also considered as parameter of HTML tag. The attribute in HTML is used to provide value to some setting required to the HTML […]

HTML Tags | Basic HTML Elements Definition

HTML Tags HTML Tags is the basic building block used to markup the content in the HTML web page document. <h1> tag is used to display some text in big and bold text on the web page. <h1> Tag Description The above h1 example have content, opening h1 tag (<h1>) and closing h1 tag (</h1>). […]

HTML Paragraph | P HTML Tag

HTML Paragraph Tag P HTML tag is used to define the Paragraph elements. This HTML Tag is used to write the paragraph in the web page. HTML Paragraph is represent by the <p> tag. you have to just use <p> </p> inside the body tag and write multiple lines inside this paragraph tag. Example – […]

HTML Heading | HTML h1 Tag

HTML Heading HTML Heading Tags are used to write the heading of the articles. HTML Headings are the six level headings. HTML Headings are described by the tag <h1> to <h6> tag. If You want to describe the headings or sub-headings about a topic than you can use this tags. Where <h1> describe the most […]

HTML Link | HTML a Tag

HTML Link Tag HTML Link tag is used to insert link or hyperlink in any HTML web page document. The a tag is a paired tag, means it is having content and as well as opening and closing tag. When user click on the contents of the HTML a element the browser opens the new […]

HTML List Tag | HTML Types Of Lists

What is HTML List HTML List Tag is used to represent the data in the formate of the list. HTML Types Of Lists are shown in the bullets or number formate. example – Bulleted List This above code shows that how can you write any data into the bulleted list. List Tag example – Numbered […]

HTML Unordered List | HTML ul

HTML Unordered List HTML Unordered List is used to insert the data into the bullets formate. It is also known as bullet lists or HTML ul. HTML Unordered List This above code shows that how can you write any data into the bullets formate. And this is the default formate of >ul< list. HTML ul […]

HTML Ordered List | HTML OL

HTML Ordered List HTML Ordered List is used to insert the data into the numeric or numbers formate. It is also known as numbered lists or HTML OL. It is have a particular order. In Other words Ordered List are the Number List means every element of the order list are specified with the sequential […]

HTML Image | HTML Img Tag

HTML Image HTML Image tag is used to link the image in to the web page. The images were not embedded into the HTML page, they were linked in the HTML pages. That’s why the attributes will be required. HTML Image Tag The above syntax is used to linked the image. Caution:HTML image <img> tag […]

HTML Comment Tag | Comment in HTML

HTML Comment Tag HTML Comment Tag is used to make a part of code which is ignored by the web browser. And browser will not display that part of code but the code is visible in the code section. Comment in HTML syntax The main use of HTML comment in code is to create the […]

HTML Inline Style | HTML Style Attribute

HTML Inline Style It is a technique to change the default look and feel of the HTML element. Actually every browser having some default style of every HTML element, and if you are not providing the CSS to any HTML element browser will use their own style to that element. It means we are providing […]

HTML Table | Table Tag Example

HTML Table HTML Tables are used to arranging the data into the row and column formate. In other word HTML Table create the tabular form of data. HTML Table structure consists 3 tags that is <table>, <tr> and <td>. Where <table> tag is the starting tag, <tr> tag defines the table row and <td> defines […]

HTML Div Tag | Div in HTML

HTML Div Tag HTML Div Tag is a container HTML tag, It is used to group some HTML element together. Div is used to logically divide HTML document into small boxes. Div tag is actually used to control the layout of page structure. HTML Div tag is also used to specify the CSS style in […]

HTML Image Link | Hyperlink HTML Image to URL

HTML Image Link | Link Image to URL HTML Image Link is used to transforming an image into a link. Because to make an image as click-able image. When you move your mouse pointer than pointer will convert into hand symbol. You have to just put the image source inside the <img> tag and than […]

HTML Span Tag | Span Element in HTML

HTML Span Tag HTML Span Tag is a inline container element and mostly used to give special design style to the inline text. Span Element in HTML is mainly used to bold, italic or underline some part of text in a paragraph. There are two types of element in HTML, inline and block element. There […]

Block And Inline Elements | Inline vs Block Level Elements

Block And Inline Elements The browser display every HTML element in one of the two methods, inline and block element. There is a display CSS property, which actually controls the display of the element in the web browser. Every HTML element have default display setting value. The Block element uses complete horizontal (browser width direction) […]

HTML Text Formatting | HTML Formatting Tags

HTML Text Formatting HTML Text Formatting is used to style the text into different design specification. By the use of the HTML Formatting Tags we can style the text. <b>, <i>, <u>……..etc these are the some HTML Tags which are used for the designed the text. These HTML Formatting Tags, are mostly used to show […]

HTML pre Tag | Element

HTML pre Tag HTML <pre> tag means predefined tag. When you write any paragraph in the HTML document, than you use the <p> tag to write any paragraph. But in the <p> tag all the spaces, new lines and tabs was removed. If you want to write any paragraph that have more space, and start […]

HTML Form Tag | action target attribute

HTML Form Tag HTML Form is used to take the input from the user. The <form> tag is used to create the Form. An HTML Form contains other HTML form Elements like input tag. There are different types of form child elements, like text, submit and more. Example – A HTML basic Form with text […]

HTML class Attribute | HTML class Style

HTML class Attribute HTML class Attribute is an another way to identify the HTML element in the HTML web page, to apply CSS style to that particular element. You can define design specification with the style tag in head part of HTML web page. But, when you provide the design specification in the head part, […]

HTML Title Tag

HTML Title Tag HTML Title is an important tag. HTML Title Tag shows the title of the web page which is displayed on the browser title bar. Search Engine uses the content of title element to understand what information or knowledge to delivered in particular web page. To have a batter visibility of your web […]

Introduction to CSS | CSS Basics

Introduction to CSS In this tutorial you will learn about the CSS Basics. CSS is a design specification language. CSS style provides look and feel to the HTML Elements. CSS Style is used to make the web page as more powerful and attractive. Using CSS you can change color, font-style, font-size background color and more. […]

HTML id Attribute CSS Design Style

HTML id Attribute HTML id Attribute is an another way to uniquely identify the HTML element in the HTML web page, to apply CSS style to that particular element. You can define design specification with the style tag in head part of HTML web page. But, when you provide the design specification in the head […]

CSS Full Form | CSS Meaning

CSS Full Form CSS Full Form is Cascading Style Sheets. Cascading means that apply many styles to an HTML Element. Cascading Style Sheets specify by 3 ways, which style is apply on an HTML Element. And the ways are external style sheet, internal style sheet and inline sheet. Example 1- Cascading Style Sheets In the […]

CSS p Style | CSS p Tag

CSS p Style CSS p Style means that, you can style your paragraph using CSS Properties. The paragraph element is not appealing without CSS Style. Using CSS Style on the Paragraph than paragraph look and feel will be changed, and that’s why paragraph will look more attractive. You can apply border, margin, color, padding, font-size, […]

HTML Symbols Code

HTML Symbol Entities. HTML symbols like mathematical operators, arrows, technical symbols and shapes, are not present on a normal keyboard. To add these symbols to an HTML page, you can use the HTML entity name. HTML Symbols code HTML Symbol Entities HTML entities were described in the previous chapter. Many mathematical, technical, and currency symbols, […]

CSS Heading Styles |CSS Style h1 h2

CSS Heading Styles CSS Heading Styles term means that, you can style your heading using the CSS Properties. The Heading element is not attractive without CSS Style. Using CSS Style on the Heading than heading look and feel will be changed, and that’s why heading will look more attractive. You can apply border, margin, color, […]

CSS Element Selector | CSS Tag Selector

CSS Element Selector CSS Element Selector is used to apply the CSS Style to the HTML Elements. It is also known as CSS Tag Selector. CSS Tag Selector design specification apply to all the HTML Element of same type. Suppose you have specified design specification for p element, than this style apply to all the […]

Internal CSS in HTML | Internal Style Sheet

Internal Style Sheet Internal Style Sheet is defined in the head part of the HTML Page, it is used to specify the design specification of the HTML Element on that web page. Internal Style Sheet is encapsulate in the HTML <style> tag. Example – Internal CSS in HTML The above syntax shows that how can […]

class Selector | CSS class in HTML

class Selector class selector is used to apply the Style to an HTML Element with the use of class attribute. CSS class Selector is defined by the (.) symbol in stylesheet. If you want to apply different styles to the same HTML Element than classes selector is used. Example 1 – class selector Example with […]

CSS id Selectors | HTML Style id

CSS id selector id selector is used to apply the CSS Style to an HTML element with the use of id attribute. CSS id selector is defined by the Hash(#) character. id selector is used to apply the CSS Style to a unique HTML Element. The id of an HTML Element define unique in the […]

External Style Sheet | External CSS Link Stylesheet

External CSS Stylesheet External CSS Style Sheet is used to apply the CSS Style to entire web site by putting the CSS style into single file. you have to just link a file to all the web pages. You have to saved this file with .css extension. On the style and design info is written […]

CSS Padding Top Left Right Bottom Property

CSS Padding If you are not using padding all the content of p are very close to the border and it does not look beautiful that is why with the help of padding property you can make text of the paragraph at a distance from the border of the elements. That makes your design looks […]

PHP Full Form, Introduction and Definition or Stands for

PHP Introduction | PHP Definition PHP is web server scripting language, introduced by Rasmus Lerdorf in 1994. PHP is one of the very popular web server scripting language, because it is simple and open source. PHP was Created in 1994 by Rasmus Lerdorf, initially PHP was a simple set of Common Gateway Interface (CGI) binaries […]

Style CSS Margin Top, Right, Bottom, Left Property

CSS Margin Property CSS Margin is used to create spacing between HTML elements. CSS Margin Style is greatly enhance the look and feel of user interface (UI). CSS Margin is used to create spacing from the border of the parents. CSS Margin can also be used to provide spacing from the border of the parent […]

Style CSS Border Top, Bottom, Left, Color, Width, Radius Property

CSS Border Property CSS Border is used to apply border to an HTML Elements. With the help of CSS Border we can provide box effect on an HTML Element. All the HTML Element by default displayed without Border. With the help of Border Property we can change the color, width and style of an HTML […]

CSS Box Model Properties with Design Example

CSS Box Model Properties CSS Box Model means that a group of 3 CSS Properties such as margin, padding and border. If you want box look and feel of an HTML Element than CSS Box Model is used. CSS Box Model Examples The above code shows how one can create Box Model look and feel […]

PHP Basics and Code Example Syntax of It Embed in HTML

PHP Basics PHP Basics tutorial presents the core Syntax of PHP and its use in connection with how we can embed PHP Code in HTML. The term PHP block is also discussed. First and most important point is that the PHP is written in the PHP file on top of the HTML syntax. The PHP […]

CSS Outline Color, Width, Style Property

CSS Outline Property CSS Outline is an another boundry that you can specify, additional to border property. CSS Outline is the outer side border of a border. The Use of Outline Property to change the color, width and style of an HTML Element Outline. Example 1 – Outline with p HTML element The above syntax […]

Styling CSS Links or Hyperlinks with a tag

CSS Links or Hyperlinks CSS Links properties are used to modify the color, background color, padding and many more. CSS a Tag support many pseudo classes to modify the effects of the HTML Hyperlink Element. Example 1 – Styling CSS Links with background color property The above code shows that how can you use CSS […]

CSS hr Style or color, Width, Line Styling of hr Tag

CSS hr Style hr Style means that, you can change the color, style and width of any Horizontal Line. Border Properties are used to Style the hr(Horizontal Line) element. Example 1 – Styling CSS hr Tag color and Line Style The above code shows that how can you style horizontal line. Fig.1 – CSS hr […]

CSS List Style | Styling HTML Lists

CSS List Style Default look and feel of HTML list element is very basic, with the help of CSS List Properties you can make your list more beautiful. Through CSS Properties You can change the bullets style of unordered list. change the numbered style of ordered list. also set an image to the place of […]

Style or Design HTML Tables with CSS

CSS Tables Style Table is one of the important element and with the help of CSS Properties you can make it more attractive and beautiful. Through Table Borders Property you can apply border to a table. Example 1 – CSS Table Border Style Here the above code shows that how can you apply CSS Properties […]

PHP Comment Syntax with Single Line and Multiline

PHP Comment Syntax PHP Comment is used to disable some code part in the PHP block. Suppose you are developing a PHP script and you want to disable some part of the code for debug. In that case you can comment that part of the code temperately. Or sometimes used to provide remark about the […]

CSS HTML Font Family

CSS Font Family To change the default font face of the text of web page, Font Family property is used. To give the attractive touch to text and make web page more beautiful. Font Family Types Here 2 types of Font Family name generic family – a group of similar font face (like Serif or […]

CSS Custom Font Face Import

CSS Font Face CSS Font Face Property is used to apply custom fonts. The text style or Font Face can be taken from either a google provider server or your own web server (where your website is hosted server). Example 1 – CSS Custom Font Import Example Here the above code shows that how can […]

Dynamic vs Static Website | Dynamic Website Definition

Static Website Definition Static Website means the web server have web pages files stored in the disk and each of the web page have a unique URL (Uniform Resource Locator). URL is nothing but it is a unique address of each web page on the Internet. When a user on the Internet request a web […]

CSS HTML Font Size Property in px, pt, percent, em, responsive Values

CSS HTML Font Size Property Every HTML elements have a default font size set in the web browser. And if you want to modify the font size of any Element with the help of font-size property. CSS Font Size in px, pt, em, percent, Responsive or vw Units px(pixel), em, percent, rem, pt(point) and other […]

CSS Font Style Property and Italic Text in HTML

CSS Font Style Property and Italic Font Style Property is used to change the font look of the text. Mainly Italic and Oblique are two font styles. And font-style property is used to apply the style. Italic Style is slightly tilted to right side. Example 1 – Font Style Property Basic Uses In the above […]

CSS Font Weight Property and Bold Style Text in HTML

CSS Font Weight Property To specify the darkness or boldness of the fonts, font weight property is used. Basically you can bold, light and normal weight is applied to the text. The range of the darkness very from 100 to 1000. Example 1 – Font Weight Property Code for Making HTML Text Bold In the […]

CSS Font Variant Property and Small Caps Text in HTML

CSS Font Variant Property Font Variant property changes the lower character into the Small Caps. Small Caps means that the first character is bigger and all characters are in caps. Example 1 – How to Set Small Caps Text in HTML with CSS Property In the above code we apply the font-variant to an HTML […]

PHP echo Function Applications Syntax and Example Code

PHP echo Function echo function is used to print some text output in the plain HTML markup. In the PHP block, echo function is the simplest way to print any text output. echo function can be used to print text or variables in the PHP script. Warning: In the PHP block, if you create a […]

CSS Fonts Shorthand Property Syntax

CSS Fonts Shorthand Property The CSS Fonts Property is a shorthand property for applying all the font properties in one Properties. First, you have to specify the font-style, font-variant, font-weight, font-size and font-family property simultaneously in the sequence. Example 1 – Fonts Shorthand Property Syntax and Code In the above code we apply the font […]

Font or Link Underline Style with CSS Text Decoration Line Property

Text Decoration Line Property Text Decoration Line is a property to decorate text of an HTML Element by making an underline. You can apply underline, overline, and through-line with the use of the text decoration line property. You also apply more value at same to an HTML Element. Example 1 – Use of this property […]

CSS Text Decoration Color Property to Modify Underline Color

CSS Text Decoration Color Property Text Decoration Color property is used to set the color of the underline of HTML text. First, you have to write the text-decoration-line property than you have to write text-decoration-color property to apply the color Property properly. Example 1 – Use of the CSS Property to set Underline Color In […]

CSS Text Decoration Style Property to Modify Underline Type Like Wavy

CSS Text Decoration Style Property This property is used to applying the different underline type the text. You can style your underline by solid, wavy, double and dashed type. First, you have to write the text-decoration-line property than you have to write text-decoration-style property. Without text-decoration-line property you can not change the style of underline. […]

CSS Text-Decoration Property to Change the Design of Underline

CSS Text-Decoration Property for Underline Designing Text Decoration Property is a shorthand property to specify the decoration or underline of text. You can apply multiple text decoration properties in one property. You have to specify properties in the sequence text-decoration-line, text-decoration-style and text-decoration-color simultaneously. Example 1 – Text-Decoration Style Property to modify the underline of […]

CSS Color Property to Change the Font or Text Color

CSS Color Property CSS color property is used to change the color of an HTML element. You can specify the color of text by name, HEX Code and RGB Values. Example 1 – Color Property Example to Change the Text Color of p HTML element In the above code, we specify the text color of […]

CSS Background Color and Background Property to Assign Color or Image

CSS Background Color Property Background Color Property is used to change the background color of an HTML Element, to make more effective. Example 1 – CSS Background Color Property to Assign light green color to HTML p element. In the above code, we define the background-color to an HTML Elements. Fig.1 – Use of the […]

CSS Background Image, Position, Attachment and Repeat Property

CSS Background Image Property Background Image is a property to set an image to the background of an HTML Elements. And background-image property is used to define the background image. Example 1 – Background Image Example with the body HTML element In the above code, we define the background-image to an Elements. Here, we define […]

CSS display property to change the HTML element from CSS display block to inline

CSS Display Property All the HTML elements have default look and feel (display behavior), with the use of the CSS Display Property you can change that default display structure of an HTML Element. Through this property you can change Block Level Elements into Inline Elements or Inline Elements into Block Elements. Where <a> tag is […]

CSS Float Property with CSS Clear Property for both, left and right

CSS Float Property The CSS float property is used to design multiple column web page layout. if you want to design two columns or three columns web page layout you have to float your div elements with the help of float property. The div tag is a block level element so, div element acquires complete […]

HTML or CSS Text Indent Property

CSS Text Indent Property CSS Text Indent is a property which is used to define how the first line of the HTML Text Elements contains have space from the left corner. You can define text-indent property by apply in values in percentage, in pixels, in em and many more. Example 1 – CSS Indent Property […]

HTML or CSS Text Align Property Syntax and Code Example

CSS Text Align Property CSS Text Align property is used to specify the line alignment of the HTML Elements. You can set the alignment as right alignment, left alignment, center alignment and justify alignment. Example 1 – Text Align Property to Change the Alignment of HTML Text In the above code, we define the text-align […]

HTML or CSS Letter Spacing Property Syntax and Code Example

CSS Letter Spacing Property CSS Letter Spacing property is used to change the distance or spaces between the letters of the HTML Text. In the above given code and screenshot shows that how the letter-spacing property works. Example 1 – Letter Spacing Property Syntax and Code Example with the p tag In the above code, […]

CSS Word Spacing in HTML Property Syntax and Code Example

CSS Word Spacing Property CSS Word Spacing Property is used to define the space between the words. With the use of word-spacing property, you can modify the spaces between the words of the HTML Elements. Example 1 – Word Spacing property basic example code syntax with p tag In the above given code, we define […]

CSS Line Height in HTML Property Syntax and Code Example

CSS Line Height Property CSS Line Height Property is used to define the distance between the lines in text HTML elements. As your requirement, you can also change the distance between the lines through line-height Property. Example 1- Use of Line Height Property for increase the distance between the lines in p element In the […]

CSS Text Shadow in HTML Property Syntax and Code Example

CSS Text Shadow Property CSS Text Shadow property is used to produce a shadow effect to the text. This property is used to make an artistic text and through this, you can enhance the look of the website. Example 1- Shadow Property effect in the h2 tag Here we apply CSS Property text-shadow. And below […]

CSS Text Direction in HTML Property Syntax and Code Example

CSS Text Direction Property CSS Text Direction property is used to specify that from which direction the text will be written means from left to right or right to left. Mostly CSS direction property is used where the language which is written from the right-side direction. Example 1 – Direction property application and use for […]

Style HTML Form or CSS Form Design Examples

CSS Forms Design CSS form design is used to change the look and feel of the HTML Form by the use of some CSS Properties. Example 1 – Basic HTML form with input text box, and submit button In the above code, we used two input fields one is an input text box and another […]

HTML CSS Layout Tutorial with 2 and 3 Column Design Example Code

CSS Layout CSS Layout is a technique which is used to create multiple columns based web page design. In this tutorial 2 columns & 3 columns, layout code examples are presented. Normal Flow Normal Flow means that how the browser will display the HTML Elements. If you use block level elements than it will display […]

CSS Position Property and Static Positioned Explained

CSS Position Property CSS Positioning property is used to set the position of the HTML Elements. By the use of the top, bottom, left and right properties you can set the location of the HTML Elements. Properties Description static Static position property means that an HTML cannot be moved and it remains as it is. […]

CSS Position Fixed or Sticky on Bottom or Top with Scroll Effects

CSS Position Fixed Property CSS Fixed position property means that an HTML Element will be fixed on a position. You can be fixed you HTML Elements to anywhere(top, bottom, left, right, center and your required properties), where you want to fix the HTML Elements on the web page. Example 1 – Position Property Fixed example […]

CSS Position Absolute and Relative with Top, Right, Bottom, Left and Center Positing

CSS Absolute Position Property With the help of absolute positioning of HTML elements, we can design overlapping content. Overlapping means one HTML element over another HTML element. By default, if you design two div elements the second div element content will be just below the first div element content, but suppose you need to place […]

CSS Descendant Selector Applications Syntax and Example Code

CSS Descendant Selector CSS Descendant Selector is used to style a specific child element. The Descendant selector is represented by the white space between the two selectors. Example 1 – CSS Descendant Selector Property In these examples, we have specified that there is an h2 element which is inside a div element. It means this […]

CSS Child Selector

CSS Child Selector CSS Child Selector property is also used to style a direct child element. The Child Selector is represented by the symbol of greater than (>) which is placed between the two selectors. Example 1 – CSS Child Selector Property In the above examples, we have difine that there is a p element […]

Adjacent Sibling CSS Selector with Example of General and Next Sibling Combinator

General Sibling Selector General Sibling Selector is used to apply the design specification to the element which is the sibling of a defined element. This Selector is represented by the tilde (~) symbol. Example 1 – General Sibling Selector In the above examples, we used two tags p tag and span tag. In the above […]

CSS Combinators Selector Applications and Example Codes

CSS Combinators It means that the combination of two selectors with the help of some operators or symbols like greater than (>), plus (+), tilde (~). Below table has the descriptions of these combinators. Some Block Level Elements in HTML Combinators Symbol Description Selector List Comma(,) You can specify multiple selectors for the design specification […]

CSS nth Child Selector and Code Example for First, Second, Odd, Even Syntax

CSS nth Child Selector If you want to select an HTML Element which is the nth child of a defined parent element then you have to use the nth-child selector. Where n is denoted to a number. Example 1 – nth Child Element Example In the above examples, p tags and div tag are used. […]

CSS nth Last Child of the type Selector with Syntax Example Code

CSS nth Last Child of a type Selector If you want to select an HTML Element which is the nth child of a defined parent element but counting start from the last then you have to use the nth-last-child selector. Where n is denoted to a number. Example 1 – Last Child Selector Example with […]

CSS Attribute Selector Syntax Code Examples and Applications

CSS Attribute Selector Through the CSS Attribute Selector, you can select an HTML Element based on the presence of a particular attribute in a tag. If you want to change the design specification of all HTML elements which has a target attribute. Example 1 – Attribute Selector with a element having target defined In the […]

CSS Media Query For Print Screen All with Breakpoints Example

CSS Media Query Media Query is used to changing the CSS Properties Values according to the width of the screen. CSS Properties like font-size, color, width and other. Example 1 – CSS Media Query Example for responsive design In the above examples, we have a two column design. Both column show as inline when the […]

PHP Variables Define or Declaration with HTML Syntax

PHP Variables Variable is used to store a piece of information or data to use this information or data throughout the PHP page. In PHP variable name starts with $ symbol. Example 1 – Variables use and code with echo In the above examples, we declare two variables($x, $y) and also print these variables. Fig.1 […]

PHP Variables Data Type with Example of Int, Float, String and Boolean

PHP Variable Data Types PHP Variables data type is used to define which type of variable you stored in your variables. PHP Supports 8 different data types of variables. Followings are the different types of PHP Variable Type. String Integer Float/Double Boolean Array Object NULL Resource PHP String Variable Type String is a set of […]

PHP Constant and Its Example Code Syntax

PHP Constant PHP Constant is also similar to the PHP VAriables but the value of Constant cannot be changed or Constant has a fixed value. If you want to create a constant then you have to use the “define()” function. Example 1 – Constant Syntax In the above examples, we have shown how you can […]

PHP Operator with Example Code for Arithmetic, Comparison, Assignment, Increment, Decrement And Logical l and Conditional

PHP Operators To perform the operations like- Arithmetic Operators Comparison Operators Assignment Operators Increment/Decrement Operators Logical Operators on the variables PHP Operators are used. PHP Arithmetic Operators To perform the arithmetic operations like addition, subtraction, divide, multiplication etc “Arithmetic Operators” are used. Operators Symbol Syntax Description Addition + $x + $y To calculate the sum […]

PHP String functions for Length, Compare, Replace, Find, Uppercase, Lowercase, Search, Reverse

PHP String Functions PHP String Functions are to manipulate the string. String Length, String Comparison, String Compare, String Replace, String Find, String Uppercase, String Lowercase, String Search are some string functions in PHP. PHP String Length String Length Function or strlen()is used to get the length of a string. Example 1 – PHP String Length […]

PHP if else Conditional Statement Syntax and Shorthand Code Example

PHP Conditional Statements PHP Conditional Statements are used to perform selected statements based on a certain condition. For example, suppose you want to execute some part of code when the variable $x value is 10. if statement – to execute some part of code when only one condition is true. if…else statement – to execute […]

PHP Switch Case Conditional Statement Syntax and Code Example

PHP Switch Case Statement PHP Switch Case is also a conditional statement. You also say that it is the alternative solution and easy syntax of multiple if statement. It is used for multiple test condition. Switch Case Syntax Example 1 – Switch Case Statement Example In the above code, we describe how you can use […]

PHP For Loop Statement with Break, Continue Syntax Example Code

PHP for Loop Loops are used to execute a part of code multiple times. Loop is also called iterative statements. PHP supports 4 type of loops such are “for loop”, “while loop”, “do-while loop”,& “foreach loop”. for Loops are used to execute a part of code multiple times. In for Loop initialization, condition and increment/decrement […]

PHP while Loop and do while Statement Break Continue Code Example

PHP while Loop Statement PHP while Loop is used to execute the part of code multiple times. This Loop is also working similarly to the for loop but has a little bit change in the syntax. All the three statements are broke down into 3 part. Firstly we initialize the variable than give the condition […]

Conditional Ternary Operator in PHP with Code Syntax Examples

PHP Ternary Conditional Operator Ternary Operator is a conditional assignment in which you can assign the condition as well as either two different values that can be assigned to the target variable based on the condition. Ternary Operator performs conditional operators. Ternary operators simplify some PHP conditional statement. But not simplify all the PHP conditional […]

Basic Built in Functions in PHP with Code Example

Basic Built in Functions in PHP PHP have many built-in functions that you can use this function and perform some basic task, for example, date(), time(), array() and many more. More than 1000s built-in functions are defined in the PHP. Some PHP Pre-defined Build in Functions date() time() strlen() str_replace() phpinfo() php_uname() extension_loaded() Phpversion() ini_set() […]

PHP User Defined Function Syntax & Example Code with Return Parameter

PHP User Defined Functions PHP User Defined functions mean that a function which is created by a user. The declaration of the user-defined function will start with the “function” keyword. Syntax of PHP user defined function deceleration Note: The name of the function must be started with a character and underscore not to be with […]

PHP Variable Scope Local, Global and Static in Function Example Code

PHP Variable Scope The scope is a boundary or limit where you can access the variable and it depends on the type of the variable. PHP supports local, global and static variable types. Local Variable Scope Local Scope means the variable is accessible within the same function where it is created. Example 1 – Local […]

PHP Array with Numeric Indexed Values

PHP Array PHP Array is used to store more than one element which is identified by the index. In PHP Arrays are of three types – Index arrays Associative arrays Multidimensional arrays Caution:To create an array you have to use array() function. PHP Index Array In PHP Index Array the data will be stored and […]

PHP Associative Array or String Indexed Example Code foreach Loop

PHP Associative Array PHP Associative Array is also used to store more than one element and which is identified by the string. It also knowns as string indexed array. Syntax Of Associative Array creation and accessing. The above syntax are used to create an associative array. The above syntax have 2 different ways to create […]

PHP Multidimensional Array in Numeric Indexed Value Example

PHP Multidimensional Array PHP Multidimensional Array means array inside an array. Or An array containing more than one array. Its structure behaves like metrics. In Multidimensional array, the data are stored in a tabular form (row-column formate). Syntax of Multidimensional Array in PHP Note:The var_dump() and print_r() are the two functions which are used to […]

PHP Array Functions & Example of Add, Reverse, Search, Count, Replace

PHP Array Functions Array Function is used to perform the basic task in an array for example count(), array sum(), array search and many more. List of popular pre-defined Array Functions Fuctions Description array() To create an array. count() To known the number of elements inside an array. array_sum() To get the addition of values […]

PHP Date and Time Function Syntax and Format String Example Code

PHP Date and Time Function The date() and time() function is used to set the format of the date and time. By the date() function, you can set both format date and as well as time PHP date() Function The PHP date() is used to set the format of the date as well as time […]

PHP Include or Require File Function and Difference Between The Two

PHP Include File Function PHP Include is used to embed a PHP File into another File. Mainly it is used to add the library of user-defined functions. Example 1 – Include File Code to Embed Scripts In the above example, we have created 2 PHP files and one PHP file will be called into another […]

PHP Superglobal or Super Global Variables Uses and Example

PHP Superglobal Variables The scope of the superglobal variables is everywhere. List of variables in a particular super global variables depends on the state of the PHP application. PHP have Predefined “Super Global” variables for some specific purpose. Below list shows PHP superglobal variables- $GLOBALS $_SERVER $_REQUEST $_POST $_GET $_FILES $_ENV $_COOKIE $_SESSION PHP $GLOBALS […]

PHP Cookies Use, Application in Example Code to Set, Delete, setcookie

PHP Cookies By default PHP is a stateless application means you can not track the activity of a user during the accessing of different web pages of the web site. With the help of the cookie, you can set some variable to track the user state. PHP cookie is a Super Global and used to […]

PHP Session Use, Application Example to start, destroy, unset, id

PHP Session On the internet, the web server does not have any information which user visit the page or how many times. To track the information about the visitor or users which can visit the multiple web pages, during the accessing of multiple pages sessions are generated. Caution: Session variables are stored on the web […]

PHP Form Handling or Processing in Application with Example Code Syntax of Submit Data

PHP Form Handling or Processing The form submitted by the client machine to the web server is actually received by a PHP script file, and it is known by action attribute of the form tag. The PHP Web server will store all the parameters received from the form in the $_GET or $_POST Global array. […]

MySQL Introduction

MySQL Introduction MySQL is one of the popular Database Management System. The full form of MySQL is Structured Query Language. The data are stored in a table form in MySQL. Every column has a specific data type that you can specify during the creation of the table. You can perform the opertions such are – […]

phpMyAdmin Introduction and Create & Open the Database

phpMyAdmin Introduction phpMyAdmin is one of the most popular applications of the MySQL Database Management System(DBMS). It is an interface to interact with MySQL Database. With this software, you can create, delete, alter, drop, import and export the MySQL database. Caution: If you work on the local machine than you have to install the XAMPP […]

phpMyAdmin Create Table

phpMyAdmin Create Table MySQL Stored data in the table form or row-column format. So you have to create a table first in the phpMyAdmin interface. Step 1 – To create a table you have to create a database first. After creating a database you have to write table name to the Name block and select […]

How to Use phpMyAdmin and How select, insert, update, delete and drop table

How to Use phpMyAdmin Through phpMyAdmin, you can perform many operations like insert, select, update, delete and drop in the table. These operations are done through the SQL Queries. How to Insert in phpMyAdmin If you want to add the new information to a column then you have to use insert SQL Query. Step 1 […]

PHP MySQL Connection With MySQLi Example Code and mysqli_connect Function

How to Drop Table in phpMyAdmin From the PHP script if you want to access the MySQL Database you have to first create a connection to the database server with the help of mysqli_connect mysqli function. MySQL Examples in Both MySQLi and PDO Syntax In this, and in the following chapters we demonstrate three ways […]

PHP MySQL Create Table Query With MySQLi Example Code and MySQLi_query Function

Create a MySQL Table Using MySQLi The CREATE TABLE statement is used to create a table in MySQL. We will create a table named “User”, with five columns: “id”, “firstname”, “lastname”, “email_id” and “age”: Example – 1 Create a MySQL Table Example ` Important points of the table above: The data type specifies what type […]

PHP MySQL insert Query Syntax into the Table with MySQLi Example Code

PHP Insert Data Into MySQL To insert a data in the MySQL database you have to use insert query. In other words Insert is used to add new records. Important points The string must be quoted. Numeric values must not be quoted. The word NULL must not be quoted. In the previous artical we created […]

PHP MySQL select Query Syntax From the Table with MySQLi Example Code

PHP Select Data in MySQL To select data from the table select query is used. To select all row so you have to use ” * ” symbol. But if you want to select a particular row or column so you have to put the name of a particular row or column. Example – 1 […]

PHP MySQL update Query Syntax in the Table with MySQLi Example Code

PHP Update Data in MySQL To change the value of previously saved recode, we have to use the update query. In other words update query is used to update existing records. Caution:Here you have to use the where clause and where clause is used to define which records should have to update. If you can […]

PHP MySQL delete Query Syntax from the Table with MySQLi Example

PHP Delete Data in MySQL To delete the value of previously saved recode, we have to use the delete query. In other word, the delete query is used to deleting the existing records. Note:Here you also specify the where clause and where clause is used to define which records should have to delete. If you […]

Bootstrap Introduction

Bootstrap 3 Introduction Bootstrap has turned into the most popular front-end framework for building responsive sites. Fortunately, it already includes a wide range of jQuery and CSS effects that will polish every website within no time. It is a very powerful front-end framework for faster and easier mobile first web development. It is free and […]

How to Install, Embed or Add Bootstrap 3 in HTML

How to Install or Use Bootstrap 3 in HTML 5 Website Bootstrap is a front-end CSS and jQuery framework. It includes CSS, jQuery and font files. The importance of Bootstrap is that it will help in fast design of responsive websites. To use Bootstrap in your web design project you have to embed its CSS […]

How to Embed Bootstrap 3 CDN with maxcdn or cdnjs cloudflare

Bootstrap 3 CDN If you are a web developer and coding your website on bootstrap framework, then it is really a great idea to use the CDN link for the bootstrap files. We use bootstrap because it is lightweight and customizable. Bootstrap is compatible with almost all major browsers and it is mobile-first responsive framework. […]

Bootstrap Grid System

Bootstrap Grid System Bootstrap grid system creates the whole page through the series of 12 columns. And the grids are fully responsive. If you want more block you can group the column as per the requirement. In another word bootstrap grid system apply the series of the flex container linearly. Maximum you can use 12 […]

Bootstrap 3 container and container-fluid Classes with Example

bootstrap 3 container class bootstrap 3 container class is mostly used in the div tag to have a nicely looking centered page. This class will provide padding from left and right. The content of the web page will not touch the view port or browser window. The container class provides a responsive fixed width layout. […]

Bootstrap Text Typography

Bootstrap Text Typography Through Bootstrap Typography you can style and add the text content. Through this you can create the customized headings, subheadings, look and feel of the paragraphs and text and many more. The default font-size of <body> tag is 14px and line-height is 1.428 in bootstrap Difference between Bootstrap and Default Text Typography […]

20 Simple HTML CSS Table Design Template Examples with Code

Free and easy to use HTML CSS Table designs for your websites, just copy and paste the template examples code to embed simple and stylish tables into your web page code.
Learning & Certifications
Follow Us
Facebook Icon   Linked In Icon   Twitter Icon  
Validation and Recognition

Valid CSS! Valid HTML5!

Powered by Wordpress