Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 981 Bytes

File metadata and controls

52 lines (43 loc) · 981 Bytes

html-questions

  • what is submitted data?
<form action="/processing.html" method="GET"> <input type="text" id="username" value="my_value"> <button>click</button> </form>
  • What is DoctTYPE
  • What are the HTML5 tags
  • What is semantic HTML
        <ul>
        <li>hey</li>
        <li>there</li>
        </ul>
        <ul>
        <li>world</li>
        </ul>
        </div>

      console.log(document.querySelectorAll('ul li'));
HTML Element structure
h2 
p - text
p- text
h2 
find all the text of all p element between two h2 elements. 
text
text
text
Add the HTML element to each text like p, h1 etc
  • convert the list into comma-separated text.
Input-
a
b
c

Output-
a, b, c
  • Need a textarea box with a random text. when i clicked on button need to copy of that text in side the text area and paste it out in another div. if i changed the text in text area and again if i clicked on button need to update the text in side div.