Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6083139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:22:06+00:00 2026-05-23T11:22:06+00:00

HTML5 supports the <svg> tag, allowing to embed SVG into HTML. Digging a little

  • 0

HTML5 supports the <svg> tag, allowing to embed SVG into HTML.

Digging a little deeper, can I nest some HTML inside my <svg> fragment? For example, I’d like to put a CSS’ed <table> in some part of my SVG graphics.

I made a small test and Chrome12 didn’t like the HTML <p> inside the <svg>.
Is there some technique to make it work (such as maybe an html container tag?)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:22:07+00:00Added an answer on May 23, 2026 at 11:22 am

    Yes, with the <foreignObject> element, see this question for some examples.

    Alternatively, if you have an html5 document you can also use CSS positioning and z-index to make parts of html visible where you want laid out on top of the svg. If you do it like that you don’t need to nest the html inside the svg fragment. This will give you the most consistent behaviour across browsers in my experience.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HTML5 supports SVG via the svg element. Other languages can be embedded within SVG
I am loading an SVG into an HTML by means of the jQuery SVG
Is there any library that supports exporting html and SVG to PDF?
Is there a good library for converting SVG to HTML canvas that supports the
Based on http://ie.microsoft.com/testdrive/HTML5/ECMAScript5Array/Default.html , I thought IE9 supports indexOf in array but the following
I am wondering if the HTML5 <video> tag now supports playback of .avi format
I found out that HTML form supports only two enctype types. They are application/x-www-form-urlencoded
Mysql supports prepared statements in this way: http://dev.mysql.com/doc/refman/5.0/en/sql-syntax-prepared-statements.html Is there a support for it
I know that ActiveMQ supports the JMSXUserID property: http://activemq.apache.org/jmsxuserid.html I'm trying to use Apollo
I'm looking for a HTML editor that kinda supports templated editing or live snippets

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.