Bhanu Priya has Published 1612 Articles

What is the difference between id and name attributes in HTML?

Bhanu Priya

Bhanu Priya

Updated on 04-Oct-2023 16:27:25

1K+ Views

ID attribute ID is an input form element, and it has nothing to do with data contained within the element. Input element ids are for hooking the element with JavaScript and CSS. By using id attribute, we can validate and manipulate the value of an element at client side. In ... Read More

What is the difference between HTML tags <div> and <span>?

Bhanu Priya

Bhanu Priya

Updated on 04-Oct-2023 16:21:13

2K+ Views

We can use both DIV and SPAN tags as a Container, as they both have their own specialty. Both are HTML5 tags. First let us discuss about DIV Tag in detail with examples. DIV TAG DIV helps in separating the data like text, images, navigation bar etc., we can also ... Read More

What are valid values for the id attribute in HTML?

Bhanu Priya

Bhanu Priya

Updated on 04-Oct-2023 15:54:16

857 Views

The ID attribute in HTML is called as unique identifier for the element. It helps in identifying an area in a web page by using CSS styles, targets for scripts and anchor links. First let us see, what is the use of ID attributes in HTML − The ID attribute ... Read More

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

Bhanu Priya

Bhanu Priya

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

9K+ 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 ... Read More

How to make a div center align in HTML?

Bhanu Priya

Bhanu Priya

Updated on 04-Oct-2023 14:59:38

11K+ Views

DIV is called as a division tag, the name itself indicates that it makes divisions for the content on the web pages, tag separates the data on web pages, the data like text, images, navigation bar etc., By using DIV tag we can also create particular sections. DIV tag ... Read More

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

Bhanu Priya

Bhanu Priya

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

234 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 ... Read More

How to align two divs horizontally in HTML?

Bhanu Priya

Bhanu Priya

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

5K+ 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 ... Read More

How to place two divs next to each other in HTML?

Bhanu Priya

Bhanu Priya

Updated on 29-Sep-2023 16:20:55

46K+ Views

DIV tag is nothing but a division tag, the name itself indicates that it makes divisions for the content on the web pages. It helps in separating the data like text, images, navigation bar etc., we can also create particular sections by using the DIV tag. A DIV tag consists ... Read More

What is Turing Machine in TOC?

Bhanu Priya

Bhanu Priya

Updated on 14-Sep-2023 21:57:54

28K+ Views

A Turing machine is a computational model, like Finite Automata (FA), Pushdown automata (PDA), which works on unrestricted grammar. The Turing machine is the most powerful computation model when compared with FA and PDA.Formally, a Turing machine M can be defined as follows −M = (Q, X, ∑, δ, q0, ... Read More

Explain string library functions with suitable examples in C

Bhanu Priya

Bhanu Priya

Updated on 14-Sep-2023 21:29:01

30K+ Views

String Library functionsThe predefined functions which are designed to handle strings are available in the library string.h. They are −strlen ()strcmp ()strcpy ()strncmp ()strncpy ()strrev ()strcat ()strstr ()strncat ()The strlen () functionIt returns the number of characters in a string.Syntaxint strlen (string name)Example#include main (){    char a[30] = ... Read More

Advertisements