Search
 
SCRIPT & CODE EXAMPLE
 

HTML

agregar atributo jquery

<!-- Elemento html -->
<div id="cabecera"></div>
<script>
  //Seleccionamos el elemento con id=cabecera y le añadimos el atributo title
  $("#cabecera").attr("title","Cabecera de la página");
  //El elemento ahora quedará asi: <div id="cabecera" title="Cabecera de la página"></div>
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: how to create an html button that acts like a link 
Html :: table column width 
Html :: show spinner during API request pure html and jquery 
Html :: gradient background css for all browsers 
Html :: bootstrap class width auto 
Html :: how to write superscript in markdown 
Html :: how to write a text inside a div 
Html :: how to use js in html 
Html :: bootstrap input 
Html :: button href 
Html :: how to make a password system in html 
Html :: html to pdf angular 
Html :: rounded pill bootstrap 5 
Html :: password input type in html 
Html :: html spacing 
Html :: html auto download file 
Html :: how to add an svg image to html 
Html :: nicescroll cdn 
Html :: section tag in html 
Html :: change html div jquery 
Html :: em tag in html5 
Html :: tailwind negative margin 
Html :: eslint ignore v-html 
Html :: email confirmation html template 
Html :: html video frame image 
Html :: link react to html 
Html :: Serve images in nextgen formats webp 
Html :: hyperlinks in html 
Html :: vs code basic html template shortcut 
Html :: how to add subtitle file in a movie in html 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =