The <a> tag is used to insert hyperlinks to other pages, or files, locations within the same page, email addresses, or any different URL. You can use both text and image as a hyperlink. In the browser, hyperlinks differ in their appearance and color. By default, HTML links appear as underlined blue text. When you hover your mouse over… Continue reading HTML Tag
Month: October 2022
HTML Declaration
The <!DOCTYPE> declaration is the first line of the code in HTML or XHTML document. It specifies the HTML version used in the document. Each HTML document should start with this declaration: so the browsers will render the page compliant with HTML standards. In HTML 4.01, this declaration refers to a Document Type Definition (DTD), which… Continue reading HTML Declaration
HTML tag
The <!– … –> tag is used to insert comments in an HTML code. Its content is ignored by the browsers and is not displayed by them. However, the comments are visible to anyone who views the page source code. HTML comments point out document sections or insert notes explaining the code. The comment tag can… Continue reading HTML tag
Global Event Attributes
An event occurs when the browser reacts to a particular action of the user. The user generates an event when clicking on a mouse, playing video, uploading a document or an image, or performing other actions on a website. To react to an event, a handler is assigned to it. A handler is a way… Continue reading Global Event Attributes
HTML Global Attributes
Global Attributes are used to refer to attributes, which are used on any HTML element. These attributes are common for all elements in HTML. However, some attributes have no effect on some elements. For instance, the attribute spellcheck won’t affect the behavior or semantic of a paragraph, the same way the lang attribute will have no effect on an… Continue reading HTML Global Attributes
Deprecated HTML Tags
What does “deprecated” mean? Generally, “deprecated” means something disapproved. In IT, deprecated elements are those elements that are allowed, but not recommended and are being replaced by newer ones. So, a “deprecated code” means that it is not recommended to use as there is a better alternative in that software to use instead. Deprecated HTML… Continue reading Deprecated HTML Tags
HTML Uniform Resource Locators
A Uniform Resource Locator (URL), which is commonly called a web address, is a reference to a web resource specifying its location on the computer network and a mechanism for restoring it. A URL is a special type of Uniform Resource Identifier (URI), although sometimes these two terms are used interchangeably. In the majority web… Continue reading HTML Uniform Resource Locators
XHTML
XHTML ( EXtensible HyperText Markup Language), developed by World Wide Consortium (W3C) in 2000, is the more extended version of the popular HTML. It is the same HTML but defined as an XML application, which combines the advantages of both HTML and XML. XHTML retains all the features of HTML but introduced more strict rules for creating… Continue reading XHTML
Table of HTML Tags
An HTML tag is usually defined as a character set that provides a formatted command for a web page. Tags provide directions for visual content. In early times, HTML tags were responsible for the most part of web code. However, today their importance has decreased. HTML tags include tags for headlines or titles, tags for… Continue reading Table of HTML Tags
MIME-Types
The Multipurpose Internet Mail Extensions, known also as MIME type, is a specification extending the format of email to support sending images, audio/video files, archives, etc. The specification is standardized in IETF RFC 6838. Browsers generally use the MIME type (and not the file extension) to determine how to process a document; that’s why it is… Continue reading MIME-Types