- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- 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 2416 Articles for HTML
5K+ Views
We can easily vertically align elements in a div using any of the following ways − The position property The line-height property The padding property Let us see the examples one by one − Vertically align elements in a div using the position property The position property is used in positioning an element. It can be used in conjunction with the top, right, bottom and left properties to position an element where you want it. Here are the possible values of the position property − static − The element box is laid out as a part of ... Read More
827 Views
To vertically center a div element for all browsers using CSS, use the Flexbox. CSS3 provides another layout mode Flexible Box, commonly called as Flexbox. Using this mode, you can easily create layouts for complex applications and web pages. Unlike floats, Flexbox layout gives complete control over the direction, alignment, order, size of the boxes. The tag is a container for elements in HTML. We can place any type of content inside the div. The elements are first added and then CSS is used to style them. We can now only center the div vertically, but it can be ... Read More
585 Views
We can easily remove the space between inline-block elements. Before moving further, let us first create an HTML document and add inline-block elements with space −Example DOCTYPE html> Inline block elements li { display: inline-block; width: 150px; font-size: 18px; } li:nth-child(1) { ... Read More
992 Views
We can easily remove the space between inline-block elements. Before moving further, let us first create an HTML document and add inline-block elements with space. Inline-block elements with space We will set the style for inline block element using the display property with value inline-block − nav a { display: inline-block; background: blue; color: white; text-decoration: none; font-size: 35px; } We have set the above style for the below given element − Tutorials point ... Read More
578 Views
There are many different coding languages that can be used when designing websites; some of these languages are more difficult to learn than others. HTML, JavaScript, PHP, CSS, Ruby, Python, and SQL are some of the most widely used languages for developing websites.To comprehend the fundamentals of web design and development, however, all you need to know is HTML and JavaScript, the two key programming languages. Each of these serve a unique function on the web. Since HTML and JavaScript act as the foundation of any website, you need to know how they will affect your website and what they ... Read More
418 Views
Let us understand the concepts of Hypertext Transfer Protocol (HTTP) and MQ Telemetry Transport (MQTT) protocol before learning the differences between them.Hypertext Transfer Protocol (HTTP)The Hypertext Transfer Protocol, or HTTP, must be the most generally utilized Application layer convention on the planet today. It frames the premise of what a great many people comprehend the Internet to be—the World Wide Web.Its motivation is to give a lightweight convention to the recovery of Hypertext Markup Language (HTML) and different reports from Web locales all through the Internet. Each time you open a Web program to surf the Internet, you are utilizing ... Read More
1K+ Views
In this post, we will understand the difference between cache and cookies −CacheIt helps store the content of the website which is used frequently.The content of the website is stored in the browser.It expires manually.It consumes more space.Different types of cache are: Browser cache and proxy cache.It stores contents like HTML pages, images, JavaScript, CSS.It doesn’t send a response with a request.CookiesIt helps store the user’s choice.The contents of the cookie are stored in both the server and browser.It expires automatically.It consumes less space.Different types of cookies are: Transient cookies and persistent cookies.A cookie stores the contents such as browsing ... Read More
599 Views
In this post, we will understand the difference between HTML and CSS HTML HTML refers to Hyper Text Markup Language. It helps create web pages and applications − It helps define structure of web page. It is a markup language. It helps create static pages as well. It helps display data. HyperText helps define link between multiple web pages. Markup Language helps define text document using tags, which gives a structure to the web page. It has less backup and support options. HTML can’t be used inside a CSS sheet. It helps annotate the text so that a system ... Read More
4K+ Views
In this post, we will understand the difference between GET and POST methods in HTML.GET MethodThe parameters are placed inside the URL.Its main goal is to retrieve the data/documents present inside it.It has the ability to bookmark the results of the query.It is vulnerable, and not secure enough.This is because the data and credentials are present as plain text.It can be seen by anyone.The data constraint is that only ASCII characters are allowed.It can be up to 2000 characters only.It is also said to keep the length of the data to a minimum value.Data can be cached when GET method ... Read More
6K+ Views
In HTML, cellpadding and cellspacing are the two attributes used for formatting table cells. Both cellpadding and cellspacing are used to insert whitespaces in the table cells. The most basic difference between cellpadding and cellspacing is that the cellpadding is used to set the whitespace between cell edge and cell content, whereas cellspacing is used to set the whitespace between two cells.Read through this article to find out more about cellpadding and cellspacing and how they are different from each other. What is Cellpadding? In HTML table formatting, cellpadding is the attribute which is used to set the whitespace between ... Read More