SVG <text>
SVG పాఠం - <text>
<text>
ఎలమెంట్ పాఠాన్ని నిర్వచిస్తుంది。
ఉదాహరణ 1
ఒక పాఠం వ్రాయండి:
ఇది SVG కోడ్:
<svg height="30" width="200"> <text x="0" y="15" fill="red">నేను SVG ప్రేమిస్తున్నాను!</text>
ఉదాహరణ 2
రోటేషన్ పాఠం:
ఇది SVG కోడ్:
<svg height="60" width="200"> <text x="0" y="15" fill="red" transform="rotate(30 20,40)">నేను SVG ప్రేమిస్తున్నాను</text>
ఉదాహరణ 3
<text>
ఎలమెంట్ తో కలిసి ఉంటాయి. <tspan>
ఎలమెంట్ కలిసి, ఏదైనా సంఖ్యలో ఉపసమూహాలలో ఏర్పాటైనవి. <tspan>
ఎలమెంట్ వివిధ ఫార్మాట్ మరియు స్థానాలను కలిగి ఉంటాయి。
బహుళ వరుస పాఠం (<tspan> ఎలమెంట్ ఉపయోగించి):
ఇది SVG కోడ్:
<svg height="90" width="200"> <text x="10" y="20" style="fill:red;">పలు వరుసల: <tspan x="10" y="45">మొదటి వరుస: <tspan x="10" y="70">రెండవ వరుస: </text>
ఉదాహరణ 4
లింక్ పాఠం (తో కూడినది): <a>
ఎలమెంట్):
ఇది SVG కోడ్:
<svg height="30" width="200" xmlns:xlink="http://www.w3.org/1999/xlink"> <a xlink:href="www.codew3c.com/graphics/index.asp" target="_blank"> <text x="0" y="15" fill="red">నేను SVG ప్రేమిస్తున్నాను!</text>