html span tag
Translation results:
英[spæn] 美[spæn]
n. Conjugate (horse, mule); span, distance between piers; a period of time; [nautical] cross rope
vt. tie or fasten; span time or space; measure with the palm of the hand; measure with the hand around similar measurement
Third person singular: spans plural: spans present participle: spanning past tense: spanned past participle: spanned
html span tagsyntax
Function: Used to combine inline elements in the document.
Note: Please use <span> to combine inline elements so that they can be formatted through styles.
Note: span has no fixed format. It only changes visually when you apply a style to it.
html span tagexample
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <span>span没有固定的格式表现,如果需要,可以添加属性来表现形式</span> </body> </html>
Run Instance»
Click the "Run Instance" button to view the online instance
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <span>span常用在显示一段普通的文本</span> </body> </html>
Run instance»
Click the "Run instance" button to view the online instance