Found 2202 Articles for HTML

What is CDATA in HTML?

Bhanu Priya
Updated on 04-Oct-2023 16:41:39

4K+ Views

The full form of CDATA is Character Data, it is one of the sections in XML which is used to interpret character data. It treats the text data as raw text in character format. The Tags inside a CDATA section are not treated as markup and entities are also not expanded. CDATA section is recognized by the delimiter "]]>" - that indicates the end of the CDATA section. CDATA sections are not nested. Syntax The usage/syntax of CDATA used in XML is − syntax with example:- Example Following is the XML which demonstrates the usage of CDATA ... Read More

Which is the best tutorial site to learn HTML?

Nikitha N
Updated on 08-May-2020 11:13:35

179 Views

HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages. HTML was created by Berners-Lee in late 1991 but "HTML 2.0" was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. However, HTML 4.01 version is widely used but currently we are having HTML-5 version, which is an extension to HTML 4.01, and this version published in 2012.To learn HTML, refer HTML tutorial. It explains the below given HTML concepts perfectly:HTML Basic TagsElementsAttributesHTML Phrase ... Read More

Static HTML elements are written directly in SAPUI5

Johar Ali
Updated on 30-Jul-2019 22:30:20

504 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

Page build in HTML and wanted to load into JS view in SAPUI5 application.

Ali
Ali
Updated on 25-Feb-2020 11:06:12

558 Views

The most commonly used way of doing this is to embed the HTML page as an iframe. Here is the example.new sap.ui.core.HTML({    preferDOM: true,    content: "" });It can also be loaded using AJAX call or display using sap.ui.core.HTML, but it will depend upon your HTML page.

How can I use multiple submit buttons in an HTML form?

Bhanu Priya
Updated on 04-Oct-2023 15:20:10

13K+ Views

Generally, the forms in HTML uses a single submit button which saves the record when button is pressed. In some cases, we need a form with additional submit buttons such as "accept" or "reject". Those type of buttons usually attempt a state transition while updating the record. A form with multiple buttons has to process your server-side code needs to know which button was pressed. Generally, after submission the destination data is stored in the action attribute where every button leads to same location. To overcome this problem, we use formaction attribute. For each submit button we require a different ... Read More

How to validate a form using jQuery?

Arnab Chakraborty
Updated on 09-Sep-2023 23:26:40

32K+ Views

At first you have to make a html form like. Validation of a form First name: Last name: Email: Now use jQuery validation plugin to validate forms' data in easier way.first, add jQuery library in your file. then add javascript code: $(document).ready(function() {    $("#form").validate(); }); Then to define rules use simple syntax.jQuery(document).ready(function() {    jQuery("#forms).validate({       rules: {          firstname: 'required',          lastname: 'required',          u_email: {             required: true,   ... Read More

How to center a div using CSS?

Bhanu Priya
Updated on 08-Aug-2024 17:14:41

13K+ Views

To center a div using CSS, is one of the most important aspects of front-end development which can be achieved using various CSS properties. In this article we have used 5 approaches to center a div using CSS. We are having parent div elements and some child p elements, our task is to center the div element using CSS. Approaches to Center a div Using CSS Here is a list of approaches to Center a div Using CSS which we will be discussing in this article with step-wise explaination and complete example codes. Center div ... Read More

How to horizontally center a

Arnab Chakraborty
Updated on 22-Dec-2021 06:36:55

309 Views

Here I have one html form and one css file(style.css).”o-div” is the outer div and “i-div“is the inner div class.Example           center a div                              I am OUTER DIV                       I am INNER DIV,             I am in Center                     OutputI am OUTER DIV I am INNER DIV, I am in CenterStyle.cssbody {    background-color:Gray;    padding:30px; } .o-div {    padding:50px;    background-color:Lime; } .i-div {    background-color:Fuchsia;    max-width:400px;    height:200px;    margin: 0 auto;    text-align:center; }

Using HTML control and SAPUI5 controls and advantages of using UI5 controls over HTML controls

Bhanu Priya
Updated on 04-Oct-2023 14:55:13

444 Views

First of all, let us try to understand what controls are. Controls define the appearance and behavior of screen areas. It consists of Control name. What is SAPUI5? It is a framework used to develop web applications in mobile and desktop where a large collection of JS libraries are present. But these JS libraries cannot be used alone. They have to be integrated into CSS along with JS for developing interactive internet applications. SAP can be customized and also builds its own UI components like, layouts, controls etc. Because of its extensive features we can control and define custom ... Read More

How to align two divs horizontally in HTML?

Bhanu Priya
Updated on 04-Oct-2023 14:44:54

10K+ Views

The division tag name itself indicates that it makes divisions, and displays layouts in web pages. The DIV tag can be applied to text, images, navigation bar etc., where a separate section can be created. This tag consists of open and close tags , and both the tags are used together if we want to divide the page. The content can be any type of data or images. DIV tags can be styled with CSS or manipulated with JavaScript, it is easily styled by using the class or id attributes. The DIV tag is called as block-level ... Read More

Advertisements