Search
 
SCRIPT & CODE EXAMPLE
 

HTML

svg text

<svg viewBox="0 0 240 80" xmlns="http://www.w3.org/2000/svg">
  <style>
    .small { font: italic 13px sans-serif; }
    .heavy { font: bold 30px sans-serif; }

    /* Note that the color of the text is set with the    *
     * fill property, the color property is for HTML only */
    .Rrrrr { font: italic 40px serif; fill: red; }
  </style>

  <text x="20" y="35" class="small">My</text>
  <text x="40" y="35" class="heavy">cat</text>
  <text x="55" y="55" class="small">is</text>
  <text x="65" y="55" class="Rrrrr">Grumpy!</text>
</svg>
Comment

PREVIOUS NEXT
Code Example
Html :: details summary html5 
Html :: express serve html 
Html :: html quote code 
Html :: how to convert input type file into an icon 
Html :: a tag html without href 
Html :: ionic vertical align center 
Html :: HTML open link in new tab, target="_blank" 
Html :: bootstrap disabled button 
Html :: robots txt disallow all 
Html :: excel timestamp to date 
Html :: how to make the picture in iframe full screen 
Html :: info symbol text 
Html :: input field in dropdown 
Html :: input type=text height width html 
Html :: onclick function link to another html page 
Html :: table two columns html 
Html :: how to add video in html background 
Html :: how to use select2 
Html :: Tailwind CSS rating stars 
Html :: csrf token html form 
Html :: add html validation to mobile number 
Html :: html ideas 
Html :: display html input datetime-local value from mysql 
Html :: chrome toggle device toolbar not working 
Html :: css title and label aligned alongside image 
Html :: import bootstrap 
Html :: images in html 
Html :: bootstrap.. 
Html :: bootstrap 5 input group 
Html :: multiple ngclass 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =