All questions
- 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
- Which is better: HTML or HTML5? HTML5 is the newest version of HTML and it is better than HTML because it includes new features like audio and video elements, new semantic... 1
- How to change button color in HTML? <!DOCTYPE html> <html> <head> <style> .button { background-color: #4CAF50; /* Green */ border: none; color: white; padding: 15px 32px; text-... 1
- How to add images in html? <img src="img.jpg" alt="about"> 2
- What tag is used to create button in HTML? The HTML <button> tag is used to create a button in a website. 1
- How to increase 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 align text in center in HTML? <!DOCTYPE html> <html> <head> <title>New HTML Document</title> </head> <body> <h1>Demo</h1> <p style="text-align:center;">Great Learning</p>... 1
- What is HTML used for? HTML is used to make static web pages and HTML stands for markup language. 2
- How to use div tag in html to divide the page? The div tag stands for Division tag. This is used in HTML to make divisions of content in the web page like text, images, header, footer, na... 2
- How to select multiple options from a drop down list in HTML? Add the multiple attribute to the <select> tag. <label for="fruits">Choose fruits:</label> <select name="fruits[]" id="fruits" multiple size... 1
- How to save HTML file? In order to save html file On the main menu click File > Save As Right-click within the HTML document click File > Save As In the Save As di... 1