All questions
- What tag is used to add a video in HTML? The HTML <video> element is used to show a video on a web page. 1
- Why do we use doctype in HTML? Doctype is used for Document Type Declaration and also It informs the web browser about the type and version of HTML used in building the we... 1
- How to change image size in HTML? <img src="demo.jpg" alt="Nature" style="width:500px;height:600px;"> 2
- How to give space between two buttons in HTML? <div class='myDiv'> <button style='margin-right:16px'>Button 1</button> <button style='margin-right:16px'>Button 2</button> <button>Button 3... 1
- How do add a header in HTML? <!DOCTYPE html> <html> <body> <header> <b>hey</b> </header> </body> </html> 2
- How to create a hyperlink in HTML? a hyperlink in an HTML page, use the <a> and </a> tags 2
- Who invented HTML ? The inventor of HTML Tim Berners-Lee. 2
- How to add a footer in HTML? <!DOCTYPE html> <html> <body> <h1>The footer element</h1> <footer> <p>demo of footer<br> <a href="mailto:admin@example.com">admin@example.co... 1
- How to bold text in HTML? To text bold in HTML, use the <b> </b> tag or <strong> </strong> tag. <b> hey, welcome to Brainiakkkkkkk!</b> 1
- How to change color of text in HTML? <p style="color:red">This is a demo</p> <p style="color:blue">This is another demo</p> This concept is not used in HTML5 2
- How to change font size in HTML? <!DOCTYPE html> <html> <head> <title>Demo HTML font size</title> </head> <body> <h1 style="color:red;font-size:40px;">Heading</h1> <p style=... 1
- How to increase button size in HTML? add css or width and height tags <button width="" height="" type="button">Click Here!</button> 2
- What is an attribute in HTML? HTML attributes help to provide the additional information about HTML elements. All HTML elements always have attributes Attributes provide... 2
- How to add a scroll bar in HTML? <!DOCTYPE html> <html> <head> <style> div.ex1 { background-color: lightblue; width: 110px; height: 110px; overflow: scroll; } div.ex2 { back... 1
- How to create a box in HTML? <!DOCTYPE html> <html> <head> <style> div { background-color: lightgrey; width: 300px; border: 15px solid green; padding: 50px; margin: 20px... 1
- How to create a checkbox in HTML? <input type="checkbox" id="car" name="vehicle1" value="Bike"> <label for="car1"> I have a Alto</label><br> <input type="checkbox" id="car2"... 1
- What is HTML tags ? <!DOCTYPE html> <html lang="en"> <head> <title>Title of the document</title> </head> <body> <h1>This is a heading</h1> <p>This is a paragrap... 2
- How to add a link in HTML? To add links in html we use <a> and </a> tags, which are the tags used to define the links. The <a> tag indicates where the hyperlink starts... 1
- How to change font in HTML? Change the font with the CSS font-family property, e.g. <p style="font-family: Arial, sans-serif;">. <p style="font-family: 'Times New Roman... 1
- How to put an image in HTML? <img> tag is used to insert an image in a web page. 2
- What is a “fieldset” tag in HTML? A fieldset is used to group related elements in a form. It is useful for creating structures such as tables or grid layouts. 2
- How to underline text in HTML? <u> tag is used for underline the text. The <u> tag was deprecated in HTML, but then they re-introduced in HTML5. 1
- What is span in HTML? The HTML <span> element stands for a generic inline container for phrasing content, that does not inherently represent anything. It can also... 1
- How to create drop down list in HTML? <label for="Fruits">Choose a Fruit:</label> <select name="Fruits" id="cars"> <option value="Mango">Mango</option> <option value="Apple">Appl... 1