
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 2202 Articles for HTML

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

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

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

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.

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

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

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 in another
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;
}

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; }

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

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