Tables− The <table> tag defines a table in HTML. Forms− The <form> tag is used to create an HTML form for user input. Divisions & Sections− The <div> tag is a container unit that encapsulates other page elements and divides the HTML document into sections. HTML5 introduced seman...
Open Compiler <!DOCTYPE html> <html lang="en"> <head> <title>HTML border attribute</title> </head> <body> <!-- Example of the HTML 'border' attribute --> <h3>HTML 'border' attribute with table</h3> <p>User details</p> <table border='1'> <tr> <th>S.No</th> <th>Name<...
AWS Certification Training Python Programming Certification COMPILERS & EDITORS Online Java Compiler Online Python Compiler Online Go Compiler Online C Compiler Online C++ Compiler Online C# Compiler Online PHP Compiler Online MATLAB Compiler Online Bash Compiler Online SQL Compiler Online Html EditorABOUT...
--HTML 'data' attribute--><p>Example of the HTML 'data' attribute</p><h3>Resource image:</h3><objectdata="https://www.tutorialspoint.com/static/images/simply-easy-learning.png"></object></body></html> Supported Browsers Attribute
0 - This is a modal window. No compatible source was found for this media. Accept Attribute to select all image types<body><h1>Accept Attribute to select all image types</h1><form><!-- Accepting all image files --><labelfor="image">Select an image file:</label><inputtype="file"id...
Syntax #!/usr/bin/perl# Additional HTTP Headerprint"Content-Type:application/octet-stream; name=\"FileName\"\r\n";print"Content-Disposition: attachment; filename=\"FileName\"\r\n\n";# Open the target file and list down its content as followsopen(FILE,"<FileName");while(read(FILE,$bu...
Syntax #!/usr/bin/perl# Additional HTTP Headerprint"Content-Type:application/octet-stream; name=\"FileName\"\r\n";print"Content-Disposition: attachment; filename=\"FileName\"\r\n\n";# Open the target file and list down its content as followsopen(FILE,"<FileName");while(read(FILE,$bu...
Open Compiler <!DOCTYPE html> <html lang="en"> <head> <title>Generate PDF</title> <style> .container { position: fixed; top: 20%; left: 28%; border-radius: 7px; } .card { box-sizing: content-box; width: 300px; height: 400px; padding: 30px; border: 1px solid black; font-...
Open Compiler <!DOCTYPE html> <html lang="en"> <head> <title>How to author fast-loading HTML pages?</title> </head> <body> <h3>How to author fast-loading HTML pages?</h3> <img src="https://www.tutorialspoint.com/static/images/logo-color.png" /> </body> </html> Good Practic...
0 - This is a modal window. No compatible source was found for this media. Kickstart YourCareer Get certified by completing the course Get Started Print Page PreviousNext Advertisements