Found 2416 Articles for HTML

How to disable autocomplete of an HTML input field?

AmitDiwan
Updated on 06-May-2020 14:05:06

210 Views

To disable autocomplete of an input field, the code is as follows −Example Live Demo    input{       font-size: 18px;       padding: 10px;       margin: 10px;       border:1px solid grey;    } Autocomplete on/off Example First name: Last name: Type in the above fields and refresh page to see autocomplete at work OutputThe above code will produce the following output −On typing something in the above fields after submitting the form one time −

How to display XML in HTML in PHP?

AmitDiwan
Updated on 09-Apr-2020 11:06:47

1K+ Views

If the string is pre-formatted, and a plain text representation of the same is needed, it can be wrapped in a HTML tag and html entities can be used to escape the angle brackets. This has been shown below −The string is assigned to a string type and the above is used to show XML in HTML −Example Live DemoOutputThis will produce the following output −           EXAMPLE    

How to create a signup form with HTML and CSS?

AmitDiwan
Updated on 19-Jul-2024 13:26:37

13K+ Views

In this article, we will be understanding How to create a signup form with HTML and CSS. A sign-up form allows any new user visiting the website to register. It includes adding an email-id, password, repeat password, and clicking on the Sign-Up button to register. To allow the browser to save the password, click the Remember Me. You can also provide a Terms & Policies link so the users can first read the registration terms. Let us see how to create a signup form with HTML and CSS. Steps to Create Sign Up Form We are following 2 steps to ... Read More

Parse HTML with PHP's HTML DOMDocument

AmitDiwan
Updated on 07-Apr-2020 11:36:35

411 Views

The text inside a tag inside class="text" inside with class="main" can be obtained with the following code −Example$html = nodeValue)); }OutputThis will produce the following output −string ‘This is text 1’ (length=14) string ‘This is text 2' (length=14)

How to create a responsive Image Grid with HTML and CSS?

AmitDiwan
Updated on 08-Dec-2023 16:49:39

5K+ Views

The image grid on a web page displays images in a grid. In an outer grid, we can create inner grids. Also, the responsiveness needs to be set for the image grid for different devices. On a web browser, check the responsiveness by resizing the web browser. Let us see how to create a responsive image grid with HTML and CSS. Set the outer and inner grid A div for the outer grid is set. Within that, the inner grids are set. We have set three inner grids inside our outer grid − ... Read More

How to create a mega menu (full-width dropdown menu in a navigation bar) with HTML and CSS?

AmitDiwan
Updated on 27-Oct-2023 11:31:35

2K+ Views

The mega menu includes the menus with dropdown menus. The dropdown will have a complete setup for creating rows and columns and adding content like this − The mega menu i.e., the full-width dropdown menu in a navigation bar appears like this − On clicking the Projects dropdown menu, the dropdown menu appears − Set the Navigation Menu We have set the menu links inside the Home About Contact Us More Info Style the Menu and Links The navigation menu ... Read More

How to create a dropdown navigation bar with CSS?

AmitDiwan
Updated on 03-Jul-2024 17:34:19

13K+ Views

Dropdown navigation is a nav bar that contain dropdown option. You will see a lot of websites where 3rd or 4th item of the navigation has the dropdown feature. When there are multiple options to render on nav bar item on the same category thats where you will need to develop a dropdown navigation bar. Suppose you are providing multiple types of services then you can not render all of them openly on the nav bar, you will put all of them in a dropdown. It is similar to hoverable dropdown menu. Steps to Create a Dorpdown Navbar ... Read More

Write Emails In HTML and then Send Them using Gmail

karthikeya Boyini
Updated on 04-May-2022 07:54:05

392 Views

HTML email is also an email, but it is formatted similar like Webpages, using graphics, colors, links and table columns. Now, imagine any news letter which you have received earlier from a service, that’s how HTML email looks like, whereas plain text is an email which does include only text. Imagine typical inter-office email communication. That’s how plain text email looks like.In general, email marketers do not debate which format is best. The HTML email converts in a better manner for marketing test always. However, few factors you must consider before deciding which email format to use. Lastly, there is ... Read More

Difference between :focus and :active selector in HTML

Mahesh Parahar
Updated on 21-Dec-2021 07:28:36

616 Views

:focus:focus selector is used to applying a required style when a form element got to focus like button, link, input box. An element can get focus using mouse or using tab key. A focus remains on the element until another element gets focus.:active:active selector is used to indicating that an anchor tag is active or a button is active. When the mouse is down, active selector applies and remains applied till the mouse is down.ExampleFollowing the example, shows usage of :focus as well as :active selector on button and link.    Selector Example           ... Read More

Difference between HTML and HTML 5

Mahesh Parahar
Updated on 24-Feb-2020 08:05:24

641 Views

Before moving to the difference between both of these broader terms first it is important to define the mark up language as abbreviation for HTML is Hyper Text Mark-up Language where mark-up language is used to define the text document within tag which defines the structure of web pages.So HTML is the combination of Hypertext and Mark-up language.As already understood that HTML 5 is the advance version of HTML so on the basis of additional features in HTML 5 there are notable differences.Following are the important differences between HTML and HTML 5Sr. No.KeyHTMLHTML 51AV supportAs HTML is the initial version ... Read More

Advertisements