Nikhilesh Aleti

Nikhilesh Aleti

69 Articles Published

Articles by Nikhilesh Aleti

Page 3 of 7

File Type Validation while Uploading it using JavaScript

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 7K+ Views

Social media platforms that focus solely on employment allow users to create an account and will be asked to upload the necessary documents so that the job recruiters can analyze them. To collect the documents from the user, these websites will provide an "Upload file" or "Choose file" option in their user details form; and they accept only particular file types such as ".pdf", ".jpg", ".png", etc. This process is called file validation and it can be done using JavaScript. In this article, we are going to design an option that validates the file types using JavaScript. To do so, ...

Read More

Does overflow: hidden create a new block formatting context in CSS?

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 238 Views

The block formatting context (BFC) is a part of the web page layout in CSS where elements are positioned and interact with each other. In simple words, it is like a container that defines a set of rules for how elements should behave inside the container. In this article, we are going to see "Does overflow:hidden create a new block formatting context (BFC) in CSS?" The answer is yes because in CSS, the overflow:hidden property can create a new block formatting context (BFC). When an HTML element has an overflow value other than visible (the default value), it triggers the ...

Read More

How do I add a tool tip to a span element?

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 3K+ Views

CSS stands for Cascading style sheets. It is developed by Hakon Wium, Bert Bos, World Wide Web 17 December 1996. CSS is a stylesheet used to specify the styling of the HTML elements present in the web page. It allows web developers to control the layout, colors, fonts, margins, padding, Height, Width, Background images, etc. The latest version of CSS is CSS3. In this article, we are going to learn how to add a tooltip to a span element using HTML and CSS. Creating a Tooltip In HTML, a tooltip can be used to specify additional information about something when ...

Read More

DHTML JavaScript

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 6K+ Views

DHTML stands for Dynamic Hypertext Markup Language. DHTML combines HTML, CSS, and JavaScript to create interactive and dynamic web pages. It allows for customization and changes to the content based on user inputs. Earlier, HTML was used to create static pages that only defined the structure of the content. CSS helped in enhancing the page's appearance. However, these technologies were limited in their ability to create interactive experiences. DHTML introduced JavaScript and the Document Object Model (DOM) to make web pages dynamic. With DHTML, the web page can be manipulated and updated in response to user actions, eliminating the ...

Read More

Design a transparent login/Sign Up webpage using HTML and CSS

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 2K+ Views

In HTML, the login forms are used to collect information about the user and have a button to send the details for server-side operations. The login form contains basic information such as Name, Date of birth, Email, Mobile number, Gender, Address, etc. Nowadays, HTML forms are used in almost every website on the Internet to gather user information. In this article, we are going to design a transparent login form on a webpage using HTML and CSS. Designing a transparent login/Sign Up webpage The following is the approach − Create an element with the class named "login-container". ...

Read More

Design a Navigation Bar with Animated Search Box

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 1K+ Views

The Navigation bar HTML is a horizontal bar on top of the webpage where it contains links, dropdowns, and search boxes that links to appropriate sections/pages in the webpage. This may help the users to traverse through the website effortlessly. The navigation bar can be implemented in many ways, but the traditional way of implementing is horizontal and vertical bars. In this article, we are going to design a navigation bar with an Animated search bar using simple HTML and CSS. Creating a Navigation Bar with Animated Search Box The following is the approach − Create an element ...

Read More

Alternative to iFrames in HTML5

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 18K+ Views

The HTML tag specifies an inline frame (container). This inline frame is used to embed another document within the current HTML document. The "srcdoc" attribute of the tag is used to specify the HTML content of the page to be displayed in the . HTML Tag The alternative tag to iframe in HTML is tag. It is similar to the iframe tag which defines a container for external resources such as a picture, a webpage, a media player, or a plug-in application. Following are the attributes of the HTML tag − height − ...

Read More

Difference between HTML and Bootstrap

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 1K+ Views

HTML stands for HyperText Markup Language. It is a web-based scripting language used for designing webpages. It uses tags to define elements like headings, paragraphs, and images, providing structure and layout to the webpage. The latest version of HTML is HTML5. Why HTML? HTML is essential for web page design, offering an easy way to define content structure and layout. It enables web browsers to display content in a structured manner, making it user-friendly. Advantages of HTML Following are the advantages of using HTML to create web pages − HTML has a simple syntax, easy to learn, understand ...

Read More

How div class and id is useful in HTML ?

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 568 Views

The HTML tag represents a division or section in an HTML document. This tag is used as a container, inside this we can embed any of the HTML elements (such as texts, images, tables, audio, video, etc.). If we want to style or interact with the element, we can assign an id or class attribute. Note − By default, most browsers always add a new line break before and after the element. HTML id Attribute In HTML, using the id attribute (global attribute), we can specify a unique identifier for any HTML element. We cannot assign more ...

Read More

Difference between linking an image, website, and email address in HTML

Nikhilesh Aleti
Nikhilesh Aleti
Updated on 04-Aug-2023 489 Views

In this article, we are going to discuss the difference between linking an image, website, and email address in HTML. To link or embed an image into a website, the tag is used. To link a website, we use anchor tag with href (hypertext reference) attribute. To link an email address, we use mailto inside the href attribute of anchor tag. Linking an Image In HTML, we use the tag to embed or link an image to a website. This tag requires "src" attribute for the path of the image that we want to ...

Read More
Showing 21–30 of 69 articles
« Prev 1 2 3 4 5 7 Next »
Advertisements