Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML Articles - Page 177 of 221
142 Views
Use the async attribute to set the script to execute asynchronously as and when it is available. It only uses the external script.Firstly, add a js file. Let us give it a name, new.js,function sayHello() { alert("Hello World") }Let’s add the HTML code now and execute the above script − This is demo text.
641 Views
Use the action attribute to add the file, where you want to reach after clicking Submit button. You can also add an email to send the data to that email-id.ExampleYou can try to run the following code to set where to send the form-data when a form is submitted in HTML − Student Contact Form Student Name: Student Subject:
710 Views
Use the align attribute to set the alignment. You can try to run the following code to implement align attribute in HTML −Note − The align attribute deprecated in HTML5. Use CSS instead.Example A right-aligned paragraph. Note: The align attribute is not supported in HTML5. Use CSS instead.
155 Views
Use the alt attribute to add alternative text for an image. If the user fails to view it (loading issue), then the same text will be visible. In addition, the attribute helps screen readers in reading the content to the user.ExampleYou can try to run the following code to implement alt attribute in HTML − HTML alt attribute Simple Image Insert
151 Views
The HTML tag defines a potential line breakpoint if needed. This stands for Word Break Opportunity.ExampleYou can try to run the following code to learn how to implement tag in HTML − HTML wbr Tag The browser to extend the document window beyond the size of the viewing pane and the poor user must scroll right
4K+ Views
Use the tag to add date and time. The HTML tag is used for displaying the human readable date and time.The HTML tag also supports the following additional attribute −AttributeValueDescriptiondatetimedatetimeIt is a machine readable date timeExampleYou can try to run the following code to learn how to add date and time in HTML5 − HTML time Tag The time is 08:30 pm



