Blog Archives

How to embed Youtube videos in HTML

The easiest way to display videos in your web page is to use YouTube. If you want to display a video in a web page, you can upload the video to YouTube and insert HTML code to display the video

Posted in Html Tagged with: ,

Embedding videos in HTML

Inserting video in HTML is not easy because browsers did not have a uniform standard for defining the video files. Videos can be inserted to your web pages in two different ways. One method is to use the <embed />

Posted in Html Tagged with: ,

Embedding audio in HTML

Inserting music onto a web page is relatively easy. In the past, multiple tags had to be used because browsers did not have a uniform standard for defining the media files. Now you can include the media files using embed

Posted in Html Tagged with: ,

HTML Doctype

The doctype declaration refers to a Document Type Definition (DTD). The doctype is an instruction to the web browser about what version of the markup language the page is written in. The doctype declaration should be the very first thing

Posted in Html Tagged with: ,

jQuery Selectors

jQuery selectors allows you to select and manipulate HTML elements as a group or as a single element. It  selects HTML elements (or groups of elements) by element name, attribute name or by content. JQUERY ELEMENT SELECTORS: It uses CSS

Posted in jQuery Tagged with: , ,

jQuery Syntax

The jQuery syntax is made for selecting HTML elements and to perform some action on those element(s). Basic syntax is: $(selector).action() A dollar sign to define jQuery A (selector) to “query (or find)” HTML elements A jQuery action() to be

Posted in jQuery Tagged with: ,

jQuery Introduction

JQuery is a type of  JavaScript library that emphasizes interaction between JavaScript and HTML. It provides easier access to the DOM model and it also simplifies the creation of animations, communicating with server, document traversing and event handling. Another striking

Posted in jQuery Tagged with: ,

PHP string captialization

Php has 3 primary captialization function strtoupper strtolower ucwords Converting the String to upper case- strtoupper() strtoupper () converts the string to upper case string For eg: OUTPUT: oldstring: hello newstring: HELLO Converting the String to lower case- strtolower() strtolower()

Posted in Php Tagged with: ,

PHP die()

Basically error handling is very simple in php. While writing the code for your applications  you might struggle to find out the errors . In  that case you can use die() to handle errors. Let us consider the following example:

Posted in Php Tagged with: ,

gettype() in php

Like other programming languages, php does not requires any  variable declaration so we can move freely with php datatypes. To view the datatype of the variable  use  gettype() function Eg1: OUTPUT 1: Name:HELLO Datatype:string Eg 2: OUTPUT 2 : Value:25

Posted in Php Tagged with: ,