Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TagOpen = []byte("<embed") AttrSrc = []byte(" src=\"") AttrType = []byte(" type=\"") AttrWidth = []byte(" width=\"") AttrHeight = []byte(" height=\"") )
Byte constants for HTML rendering.
Functions ¶
func Flash
deprecated
Flash Creates an embed element for Flash content (legacy) Example: embed.Flash("animation.swf", 640, 480) Renders: <embed src="animation.swf" type="application/x-shockwave-flash" width="640" height="480" />
Deprecated: Flash is no longer supported by browsers.
func New ¶
func New() *element
New Creates a new embed element without any initial attributes. Example: embed.New() Renders: <embed />
Types ¶
Click to show internal directories.
Click to hide internal directories.