<p id="par">hi</p>
<!--put script in head tag-->
<script type="text/javascript">
document.getElementById('par')//then whatever u want to do with it like window.location or something//
</script>
Code Example |
---|
Html :: html arrow symbol |
Html :: tailwind flex shrink |
Html :: how to make a link open in new tab html |
Html :: html typing shortcuts |
Html :: centering in html |
Html :: checkbox group |
Html :: whatsapp href link code |
Html :: change font size of h1 in html |
Html :: colab to html |
Html :: jquery ajax add loading |
Html :: unmount ubuntu |
Html :: select required |
Html :: bootstrap start |
Html :: html5 progress |
Html :: html single quote code |
Html :: how to insert input tag in html |
Html :: <i class="fa fa-tag"</i fontawesome |
Html :: vuejs v-for array index |
Html :: javascript object reference |
Html :: html css how to position elements on right of div |
Html :: ul html |
Html :: ol html |
Html :: html css block button |
Html :: html make range bar show value |
Html :: html how to play gifs |
Html :: how to use unicode in html |
Html :: html default file name a tag |
Html :: change button color in html |
Html :: The template root requires exactly one element.eslint-plugin-vue |
Html :: toggle button |