Tutorialspoint

HTML <b> Tag

Ankith Reddy
Answered 15h 39m ago

The b tag in HTML is used to set the bold text. According to HTML5 specification, use the <strong> tag for key text.Let us now see an example to implement the b tag in HTML−Example Live Demo<!DOCTYPE html> <html> <body> <h2>Reference Links</h2> <a href="https://www.tutorialspoint.com/online_dev_tools.htm" accesskey="t">Tools</a><br> ... Read More

What is Pass By Reference and Pass By Value in PHP?

Alok Prasad
Answered 15h 40m ago

In this article, we will learn about pass by value and pass by reference in PHP. Now, let’s understand these two concepts in detail.In PHP generally, we followed to pass the arguments to the function with passed by value approach. We are following this practice because if the value of the ... Read More

HTML autofocus Attribute

George John
Answered 16h 1m ago

The autofocus attribute in HTML is used for multiple elements and sets the focus on that particular element when the page loads. The element that constitutes the autofocus attributes are<button>, <input>, <select> and <textarea>.Let us now see an example to implement the autofocus attribute in HTML−Example Live Demo<!DOCTYPE html> <html> <body> ... Read More

HTML <area> Tag

Chandu yadav
Answered 16h 4m ago

The area tag in HTML is used to set an area in image map.Following are the attributes−AttributeValueDescriptionalttextSpecifies an alternate text for the area.coordsif shape = "rect" then coords = "left, top, right, bottom"if shape = "circ" then coords = "centerx, centery, radius"if shape = "poly" then coords = "x1, y1, ... Read More

HTML <applet> Tag

Arjun Thakur
Answered 16h 6m ago

The applet tag in HTML is used to set a Java applet on an HTML web page.Note: The applet tag deprecated in HTML5. Suggested use of <object> or <embed> element. Following are the attributes−AttributeValueDescriptionalignURLDefines the text alignment around the appletcltURLAlternate text to be displayed in case browser does not support ... Read More

HTML <address> Tag

Ankith Reddy
Answered 16h 8m ago

The address tag in HTML is used to set contact information/ address of the document. For example, if you want to set the address of the company on the company’s website, then you can set it under the <address> tag.Let us now see an example to implement the address tag ... Read More

HTML <acronym> Tag

George John
Answered 16h 10m ago

The acronym tag in HTML is used to set an acronym.Note: HTML5 doesn’t support the <acronym? Tag. Suggested use of <abbr> tag.Following are the examples of acronyms−B2B: Business to businessB2C: Business to consumerCMS: Content Management SystemPPC: Pay Per ClickROI: Return On InvestmentCTA: Call To ActionLet us now see an example ... Read More

HTML accesskey Attribute

Chandu yadav
Answered 16h 13m ago

The accesskey attribute in HTML is used to set a shortcut key to activate or focus on an element.Following is the syntax−<element accesskey="char">Above, char is the shortcut key.On Windows, set the access key for different browsers−Web BrowserWindows OSSafari[Alt] + accesskeyChrome[Alt] + accesskeyFirefox[Alt] [Shift] + accesskeyLet us now see an example ... Read More

HTML accept-charset Attribute

Arjun Thakur
Answered 16h 15m ago

The accept-charset attribute in HTML is used to set the character encodings for the form.Following is the syntax−<form accept-charset="char_set">Above, char_set is a list of one or more character encodings. This list has space-separated encodings. It can be for Unicode (UTF-8) as well as Latin alphabet (ISO-8859-1).Let us now see an ... Read More

HTML accept Attribute

Ankith Reddy
Answered 16h 25m ago

The accept attribute in HTML is for <input> as well as <form> element. Howevere, HML5 doesn’t support the form accept attribute, therefore we will be discussing the <input> accept attribute.If you want to set a filter for the type of files user can pick from input type file, the use ... Read More

HTML <abbr> Tag

George John
Answered 16h 29m ago

The <abbr> element in HTML is used to set acronym and abbreviations. Since the <acronym> tag deprecated in HTML5, use <abbr>. Following are the examples of acronyms−B2B: Business to businessB2C: Business to consumerCMS: Content Management SystemPPC: Pay Per ClickROI: Return On InvestmentCTA: Call To ActionFollowing are the examples of abbreviations−Mr ... Read More

HTML <a> Tag

Chandu yadav
Answered 16h 33m ago

The <a> element in HTML is used to link one page to another with a hyperlink. An unvisited link is blue, visited link is purple, whereas an active link is red. All these links appear like this on a web browser and are underlined. You can link an external web ... Read More

What is the main difference between objects created using object literal and constructor function?

vineeth.mariserla
Answered 16h 34m ago

Objects created using object literal are singletons, this means when a change is made to the object, it affects the object entire the script. Whereas if an object is created using constructor function and a change is made to it, that change won't affect the object throughout the script. Let's discuss ... Read More

HTML <textarea> cols Attribute

Arjun Thakur
Answered 16h 36m ago

The cols attribute of the <textarea> element is used to set the width of the textarea. The cols set it and the width is visible under the textarea itself.Following is the syntax−<textarea cols="num">Above, num is the width of the textarea. The default value is 20.Let us now see an example ... Read More

HTML DOM Anchor port Property

Ankith Reddy
Answered 16h 39m ago

The HTML DOM Anchor port property is used to set or return the port of the href attribute.Following is the syntax to set the port property−anchorObj.port = numAbove, num is the port number of the url.Following is the syntax to return the port property−anchorObj.portLet us now see an example to ... Read More

Advertisements
Loading...
Unanswered Questions View All

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.