Images enhance visual appearance of the web pages by making them more interesting and colorful. The <img> tag is used to insert images in the HTML documents. It is an empty element and contains attributes only. The syntax of the <img> tag can be given with: The following example inserts three images on the web page: Each image must


HTML table allows you to arrange data into rows and columns. They are commonly used to display tabular data like product listings, customer’s details, financial reports, and so on. You can create a table using the <table> element. Inside the <table> element, you can use the <tr> elements to create rows, and to create columns inside a row you can use


HTML lists are used to present list of information in well formed and semantic way. There are three different types of list in HTML and each one has a specific purpose and meaning. Unordered list — Used to create a list of related items, in no particular order. Ordered list — Used to create a list of


HTML Forms are required to collect different kinds of user inputs, such as contact details like name, email address, phone numbers, or details like credit card information, etc. Forms contain special elements called controls like inputbox, checkboxes, radio-buttons, submit buttons, etc. Users generally complete a form by modifying its controls e.g. entering text, selecting items,


An iframe or inline frame is used to display external objects including other web pages within a web page. An iframe pretty much acts like a mini web browser within a web browser. Also, the content inside an iframe exists entirely independent from the surrounding elements. The basic syntax for adding an iframe to a


Creating a website layout is the activity of positioning the various elements that make a web page in a well-structured manner and give appealing look to the website. You have seen most websites on the internet usually display their content in multiple rows and columns, formatted like a magazine or newspaper to provide the users


The <meta> element typically provide metadata such as a document’s keywords, description, and author last modified, and other metadata. Any number of META elements can be placed in the head section of an HTML or XHTML document. META’s name attribute provides a property name while the content attribute gives the corresponding value. The content attribute value may contain text and entities, but it may not contain


Client-side scripting refers to the type of computer programs that are executed by the user’s web browser. JavaScript is the most popular client-side scripting language on the web. Common uses for JavaScript are form validation, generate a pop-up alert box message, creating image gallery, dynamic changes of content, etc. Adding a Script to HTML Document


Some characters are reserved in HTML, e.g. you cannot use the less than (<) or greater than (>) signs or angle brackets within your text, because the browser could mistake them for markup, while some characters are not present on the keyboard like copyright symbol ©. To display these special characters, they must be replaced


URL is the global address of documents and other resources on the World Wide Web. Its main purpose is to identify the location of a document and other web resources available on the Internet, and specify the mechanism for accessing it through a web browser.