AmitDiwan has Published 10744 Articles

HTML Entities

AmitDiwan

AmitDiwan

Updated on 19-Sep-2019 11:45:39

188 Views

In HTML, some characters are reserved for syntax declaration. Using these characters in text might cause unwanted errors. For example, you cannot use the greater than and less than signs or angle brackets within your HTML text because the browser will treat them differently and will try to draw a ... Read More

HTML max Attribute

AmitDiwan

AmitDiwan

Updated on 17-Sep-2019 09:15:03

126 Views

The max attribute of the element is used to set the upper bound for . However, the element is used to measure data with a give range like water impurity level and it is set using the min and max attribute.SyntaxFollowing is the syntax −The num above is ... Read More

HTML Design Form

AmitDiwan

AmitDiwan

Updated on 17-Sep-2019 09:07:50

5K+ Views

HTML Forms are required, when you want to collect some data from the site visitor. For example, during user registration you would like to collect information such as name, email address, credit card, etc.A form will take input from the site visitor and then will post it to a back-end ... Read More

HTML DOM Anchor Object

AmitDiwan

AmitDiwan

Updated on 17-Sep-2019 09:01:23

185 Views

The element is used in HTML to create hyperlinks along with href attribute. The anchor object represents this element.ExampleIn the below example, we will learn how to access an anchor object − Live Demo Demo Heading Google Display the link Link gets displayed here    function ... Read More

HTML DOM Anchor hostname Property

AmitDiwan

AmitDiwan

Updated on 17-Sep-2019 08:58:40

121 Views

The HTML DOM Anchor hostname property returns only the hostname of the URL. It returns the domain name.SyntaxFollowing is the syntax to set the hostname property −anchorObj.hostname = hostnameAbove, the hostname is the hostname of the URL.SyntaxFollowing is the syntax to return the hostname property −anchorObj.hostnameExampleLet us now see an ... Read More

HTML href Attribute

AmitDiwan

AmitDiwan

Updated on 17-Sep-2019 08:14:27

347 Views

The href attribute is used to set the link i.e. the URL of the page.SyntaxFollowing is the syntax −Above, URL is the url you need to mention, which can be a relative link, absolute link, script, protocol, etc.ExampleLet us now see an example to implement the href attribute of ... Read More

HTML