Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript <;span>;-如何及何时使用?_Javascript_Html_Css - Fatal编程技术网

Javascript <;span>;-如何及何时使用?

Javascript <;span>;-如何及何时使用?,javascript,html,css,Javascript,Html,Css,什么是,何时使用 我尝试的是: <html> <head> <title>example</title> </head> <body> <h1>This is my first site</h1> <span>hello, nice to meet you!</span><span>I really need help!</span&g

什么是
,何时使用

我尝试的是:

<html>
<head>
    <title>example</title>
</head>
<body>
    <h1>This is my first site</h1>
    <span>hello, nice to meet you!</span><span>I really need help!</span>
    <p>I am new to web development and I am excited to start this journey. I hope that I make some friends during this experience.</p>
</body>
</html>

例子
这是我的第一个网站
你好,很高兴认识你!我真的需要帮助!
我是网络开发新手,我很兴奋能开始这段旅程。我希望我能在这次经历中交到一些朋友


元素的一个示例用法是为文本的一部分着色:


我妈妈有一双蓝眼睛。

这是你可以很容易用谷歌搜索到的东西。例如,嗨,欢迎来到SO。使用标签时,请确保阅读定义。在这种情况下,标签不应该用于html标签。可以说一个例子是一个
元素被用来给文本的一部分着色…@cale\b你是对的。你可以编辑我的答案。