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
Html 段落旁边的标题混合/浮动_Html_Css - Fatal编程技术网

Html 段落旁边的标题混合/浮动

Html 段落旁边的标题混合/浮动,html,css,Html,Css,试着做一个学校项目,做几个标题,使段落后面的文本突出,但第二个标题一直与标题1下的第一段混在一起 <h1>Nvidia</h1> <p>For more than two decades, NVIDIA has pioneered visual computing, the art and science of computer graphics. </p> <p>With a singular focus on

试着做一个学校项目,做几个标题,使段落后面的文本突出,但第二个标题一直与标题1下的第一段混在一起

<h1>Nvidia</h1>
    <p>For more than two decades, NVIDIA has pioneered visual computing, the art and science of computer graphics.
    </p>
    <p>With a singular focus on this field, they offer specialized platforms for the gaming, professional visualization, data center and automotive markets.
    </p>
    <p>Their work is at the center of the most consequential mega-trends in technology - virtual reality, artificial intelligence and self-driving cars.
    </p>   


    <h2>THE WORLD LEADER IN VISUAL COMPUTING</h2>
       <p>NVIDIA  are vertically integrated and bring together GPUs, system  software, algorithms, systems and services to create unique value for the  markets They serve.</p>
    p {
font-family: "Calibri";
margin: 10px 10px 2px 10px;
float: left;
font-size: 140%;
color:ghostwhite;
}

h2 {
text-align: center;
font-family: Calibri;
color: #76b900;
margin: 3%;
}

h1 {
color: #76b900;
text-align: center;
font-family: "Calibri";
margin: 3%;
}
英伟达 二十多年来,NVIDIA一直是视觉计算、计算机图形艺术和科学的先驱。

他们专注于这一领域,为游戏、专业可视化、数据中心和汽车市场提供专业平台。

他们的工作是最重要的技术大趋势的中心——虚拟现实、人工智能和自动驾驶汽车。

视觉计算领域的世界领先者 NVIDIA垂直整合,将GPU、系统软件、算法、系统和服务整合在一起,为其服务的市场创造独特的价值

p{ 字体系列:“Calibri”; 利润率:10px 10px 2px 10px; 浮动:左; 字体大小:140%; 颜色:鬼白色; } 氢{ 文本对齐:居中; 字体系列:Calibri; 颜色:#76b900; 利润率:3%; } h1{ 颜色:#76b900; 文本对齐:居中; 字体系列:“Calibri”; 利润率:3%; }
也许您可以看看引导。这很容易学。如果您想将这些部分显示在彼此下方,只需写下:

<div class="row">
  <h1>...</h1>
</div>
<div class="row">
  <p>...</p>
</div>
<div class="row">
  <h2>...</h2>
</div>
<div class="row">
  <p>...</p>
</div>

...

...

基本上,我想在一个标题下加一个段落,然后在该段落下再加一个标题和一个段落

只需从段落中删除
浮动

p{
字体系列:“Calibri”;
利润率:10px 10px 2px 10px;
字体大小:140%;
颜色:灰色;
}
氢{
文本对齐:居中;
字体系列:Calibri;
颜色:#76b900;
利润率:3%;
}
h1{
颜色:#76b900;
文本对齐:居中;
字体系列:“Calibri”;
利润率:3%;
}
英伟达 二十多年来,NVIDIA一直是视觉计算、计算机图形艺术和科学的先驱。

他们专注于这一领域,为游戏、专业可视化、数据中心和汽车市场提供专业平台。

他们的工作是最重要的技术大趋势的中心——虚拟现实、人工智能和自动驾驶汽车。

视觉计算领域的世界领先者
NVIDIA是垂直集成的,将GPU、系统软件、算法、系统和服务结合在一起,为其服务的市场创造独特的价值。

很抱歉,但不清楚您遇到了什么问题。什么是你想做的,你有麻烦吗?我是新的css和html,所以很难解释我的问题,所以我很抱歉。基本上我想在一个标题下加一段,然后在该段下再加一个标题和一段。