Head Tag in HTML

The <head> tag in html contains the meta informtaion about the document, the <head> tag is placed between the <Html> and <body> tag. Metadata in HTML is data about the HTML document, which is not displayed in the browser. Metadata basically provides information about document titles, styles, scripts, character sets, and other meta information. The […]

See More

HTML BR Tag

In an HTML document, the whole text is printed as a single unit unless you gave it proper tags and attributes. The <br> tag in HTML is an important formatting tag that helps you to provide line breaks in your document. Use <br> tag in your document where you want to start a new line. […]

See More

HTML Headings

Headings in HTML are title and subtitles provide information about page content. HTML Headings Basics Headings in HTML can be defined with in <h1> to <h6> tags. You can show most important page heading with <h1> tag. While the least important heading can be shown with <h6>. Example <html> <head> <title>Displaying the Headings of HTML</title> […]

See More

HTML Attributes

Attributes in HTML are provided additional information about HTML elements. HTML tags like heading tags <h1>, <h2> and paragraph tags <p> can have multiple attributes to define their characteristics. Attributes name and value pair All HTML elements can have multiple attributes. Attributes provide an additional piece of information about elements. Always specify an attribute in […]

See More

Elements in HTML

An HTML element is defined as a whole HTML tag. This element may contain content else it will be known as an empty element.Below are some HTML tags creating element -: Start Tag Content End Tag End Tag <h1> Heading of page goes here. </h1><p> paragraphs of page goes here. </p><div> Div content of your […]

See More

HTML Tags

As we earlier told you, HTML is a markup language, and it uses different tags to display the structure of a webpage. The tag name is enclosed within a smaller than and a greater than symbol ex. <Tag Name>. Most of the HTML tags have their corresponding closing tags except few tags. The example of […]

See More

HTML Introduction

HTML stands for hypertext markup language used to create the structure of web pages. Html provides a skeleton to the webpages. Without HTML, it’s not possible to create building blocks for webpages. Why to learn HTML Language? HTML is a popular language to create webpages, and it’s most common applications are:- Webpage structure – It’s […]

See More

PHP Variable Types

PHP had different data types according to the values assigned to it. Like simple string, numeric types, arrays, and objects. PHP supports the following data types: Integer String Float Boolean Array Object NULL Resource Integers Integers are whole numbers without a decimal point. <?php $x = 200; // decimal number var_dump($x); echo "<br>"; $y = […]

See More

PHP Variables Scope

Variable in PHP can be declared anywhere in the script. So the scope of the variable is defined by where it can be accessed in the script.In other words, it is the context where a variable is defined and accessed. PHP has three different kinds of scopes: Local Scope Global Scope Static Scope Local Scope […]

See More

PHP Variables

Variables are names given to the location in memory, and these locations are used to store information. Creating PHP Variables The PHP variable always starts with a $ sign, followed by the variable name. Example:- <?php $name = "jack"; $age = 21; $height = 6.1; ?> After execution of this code, the variable $name holds […]

See More