Author: Awais Farooq
-
JavaScript
A script is a small piece of program that can add interactivity to our websites. For example, a script could generate a pop-up alert box message, or provide a dropdown menu. This script could be written using JavaScript or VBScript. Nowadays, only JavaScript and associated frameworks are being used by most web developers, VBScript is not even supported by major browsers.…
-
Adding Favicon
What is a HTML Favicon? A favicon is a small image that represents your website and helps users identify it among multiple tabs, bookmarks and search results. It can be in various formats, such as ICO, PNG, GIF, JPEG, or SVG, but ICO is the most widely supported format. If you have ever visited a website and…
-
Header
The HTML header The header part of an HTML document is represented by the <head> tag. It serve as a container of various other important tags like <title>, <meta>, <link>, <base>, <style>, <script>, and <noscript> tags. We are going to learn these tags with the help of suitable examples. The HTML “<title>” Tag The HTML <title> tag is used for specifying the title…
-
Embed Multimedia
In the previous two chapters, we have used the <audio> and <video> elements to add music and videos into our web page. There is another alternative way to add videos, sounds and images or any other external content to the web site by using a special HTML tag called <embed>. This tag causes the browser itself to include controls for…
-
Audio Element
The <audio> element in HTML The <audio> element is used to enable the support of audio file within a web page. We can include multiple sources of audio, however, the browser will choose the most appropriate file automatically. Most of the attributes of <video> element is also compatible with the <audio> element. The most frequently used attributes of HTML…
-
Video Element
The <video> element in HTML The <video> element is used to enable video playback support within a web page. It works very similarly to the <img> element as it also requires adding the path or URL of the video within the src attribute. The HTML supports only MP4, WebM, and Ogg video formats. The <video> element also supports audio however, the <audio> element…
-
Input Attributes
HTML Input Attributes The HTML input attributes are used to define the characteristics and behavior of the <input> element. These attributes are used with the different types of input fields such as text, email, password, date, number and so forth. Note that the Input element is used to create interactive controls for the web-based forms so that it can…
-
Form Controls
HTML Form Controls The form elements that are used to create controls for the user interaction within the browser are termed as form controls. They enable users to enter information for the server side processing. The nature of interaction with the server can vary depending on the type of control used while creating the form. For…
-
Form Attributes
What are Form Attributes? In HTML, each element has its own attributes that are used to define the characteristics of that particular HTML element and are placed inside the element’s opening tag. The <form> element also has attributes that provide different functionalities like redirection on other web pages and auto completion of text. Following is a list of the most…
-
Forms
What is an HTML Form? HTML Form is a way of collecting and submitting information of the site visitors. It helps in making our web page more interactive and user friendly. We can see its application in various areas, including registration forms, customer feedback forms, online survey forms and many more. In this tutorial, we…