- 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
122 Views
The HTML navigator onLine property returns a boolean value that defines whether the browser is online or offline.SyntaxFollowing is the syntax −navigator.onLineLet us see an example of HTML navigator onLine property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 20px; width: 330px; display: block; ... Read More
80 Views
The HTML navigator geolocation property returns a Geolocation object that can be used to locate the user’s position.SyntaxFollowing is the syntax −navigator.geolocationLet us see an example of HTML navigator geolocation property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 20px; width: 330px; display: block; ... Read More
85 Views
The HTML navigator cookieEnabled property returns a boolean value that defines whether the cookies are enabled in the browser or not.SyntaxFollowing is the syntax −navigator.cookieEnabledLet us see an example of HTML navigator cookieEnabled property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 20px; width: 330px; display: ... Read More
87 Views
The HTML navigator appVersion property returns the browser’s version information.SyntaxFollowing is the syntax −navigator.appVersionLet us see an example of HTML navigator appVersion property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 20px; width: 330px; display: block; color: #fff; outline: none; ... Read More
90 Views
The HTML navigator appName property returns the browser’s name.SyntaxFollowing is the syntax −navigator.appNameLet us see an example of HTML navigator appName property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 20px; width: 330px; display: block; color: #fff; outline: none; ... Read More
98 Views
The HTML navigator appCodeName property returns the browser’s code name.SyntaxFollowing is the syntax −navigator.appCodeNameLet us see an example of HTML navigator appCodeName property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 20px; width: 330px; display: block; color: #fff; outline: none; ... Read More
84 Views
The HTML navigator language property returns the browser’s language version.SyntaxFollowing is the syntax −navigator.languageLet us see an example of HTML navigator language property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 20px; width: 330px; display: block; color: #fff; outline: none; ... Read More
247 Views
The HTML novalidate attribute define that while submitting the form the form data should not be validated in an HTML document.SyntaxFollowing is the syntax −Let us see an example of HTML novalidate Attribute −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } input[type='text'] { width: 300px; padding: 8px 16px; border: 2px solid #fff; background: transparent; border-radius: 20px; ... Read More
306 Views
The HTML window btoa() method encodes a string of data in base-64 string which can be decoded by atob() method in the HTML document.SyntaxFollowing is the syntax −window.btoa(string_to_be_encoded);Let us see an example of HTML window btoa() method −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 2px; width: 40%; ... Read More
340 Views
The HTML window btoa() method encodes a string of data in base-64 string which can be decoded by atob() method in the HTML document.SyntaxFollowing is the syntax −window.btoa(string_to_be_encoded);Let us see an example of HTML window btoa() method −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; text-align: center; } .btn { background: #db133a; border: none; height: 2rem; border-radius: 2px; width: 40%; ... Read More