HTML Articles

Page 151 of 151

How do we specify whether a header cell is a header for a column, row, or group of columns or rows in HTML?

Ankitha Reddy
Ankitha Reddy
Updated on 30-Jul-2019 137 Views

Use the scope attribute to implement whether a header cell is a header for a column, row, or group of columns or rows in HTML − Example Live Demo table, th, td { border: 1px solid black; } Cricketers Indian Cricketers Name 1 Sachin Tendulkar 2 Virat Kohli

Read More

Maximum size of a <canvas> element in HTML

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 2K+ Views

 All web browsers limit the canvas element’s width, height, and area.For Google Chrome, the maximum allowable width and height are 32,767 pixels and the maximum allowable area is 268,435,456 pixels.For Firefox, the maximum allowable width and height are 32,767 pixels and the maximum allowable area is 472,907,776 pixels. For IE, the maximum allowable width and height are 8,192 pixels. For IE Mobile, the maximum allowable width and height are 4,096 pixels.

Read More

Play infinitely looping video on-load in HTML5

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 5K+ Views

The tag specifies video. Currently, there are 3 supported video formats for the element that are MP4, WebM, and Ogg. Autoplay is used to start the video when the video and page loads.The loop attribute is a boolean attribute. When present, it specifies that the video will start over again, every time it is finished.The loop attribute should do it. Your browser does not support the video element. If you have a problem with the loop attribute, listen to the videoEnd event. After that call the play() method when it fires.

Read More

Same origin policy on mobile apps with HTML

George John
George John
Updated on 30-Jul-2019 314 Views

There are similar rules for native mobile apps and application. Only domain needs are to be added to white list in PhoneGap or Cardova.The device acts as a server and can access content from URL .If PhoneGap is used then domains are added to whitelist or a wildcard.While dealing with a native application, you expect to make requests from file://, instead of from https://. However, a request is not made across the HTTP protocol, so the same rules do not apply.Making requests from native mobile app, will allow you to make requests to any domain without any major issues.

Read More

How to use week input type in HTML?

Sai Subramanyam
Sai Subramanyam
Updated on 30-Jul-2019 507 Views

The week input type is used in HTML using the . Using this, allow users to select a week and year. A date picker popup is visible whenever you will give a user input to the week input type. Note − The input type week is not supported in Firefox and Internet Explorer. It works on Google Chrome. You can try to run the following code to learn how to use week input type in HTML. It will show both week and year. Example Live Demo HTML input week Details: Student Name Training week

Read More

How to redirect URL to the different website after few seconds?

George John
George John
Updated on 30-Jul-2019 7K+ Views

Page redirection is a situation where you clicked a URL to reach a page X but internally you were directed to another page Y. It happens due to page redirection. To redirect URL to a different website after few seconds, use the META tag, with the content attribute. The attributes set the seconds. The following is an example of redirecting current page to another website in 10 seconds. The content attribute sets the seconds. Example Live Demo HTML Meta Tag Hello HTML5!

Read More

What will happen when [50,100] is converted to Number in JavaScript?

Sai Subramanyam
Sai Subramanyam
Updated on 30-Jul-2019 156 Views

Use the Number() method in JavaScript to convert to Number. You can try to run the following code to learn how to convert [50, 100] to Number in JavaScript − Example Live Demo Convert [50,100] to Number var myVal = [50,100]; document.write("Number: " + Number(myVal));

Read More

Static HTML elements are written directly in SAPUI5

Johar Ali
Johar Ali
Updated on 30-Jul-2019 556 Views

SAPUI5 allows the developer to use their own static HTML elements with the use of UI5 controls in certain areas. It is not closed framework and allows you to use a sap.ui.core.HTML control to write any amount of plain HTML within an area rendered by UI5 so it allows you to easily mix HTML and UI5 controls.HTML created by UI5 controls, however, is created dynamically, but that's how many JavaScript UI libraries work when providing higher-level UI elements that would be hard to write in static HTML.You can refer to below link of SAPUI5 which tells more about HTML SAPUI5 ...

Read More
Showing 1501–1508 of 1,508 articles
« Prev 1 147 148 149 150 151 Next »
Advertisements