简体   繁体   English

文本的HTML填充创建区域

[英]HTML codding creating area for text

Image of what i plan to do: 我打算做什么的图像:

草案

Need help to actually add those kind of text box so i can type in it. 需要帮助以实际添加这些文本框,以便我可以键入它。 i am currently only using field set but i have no ideal on how to give it a location. 我目前仅使用字段集,但在如何为其指定位置方面我并不理想。 If anyone have any ideal on how to do it please do teach me.. -A beginner at codding. 如果有人对它有任何理想的想法,请教我。-初学者。

 <html> <head> <title>Assignment 2 </title> <!-- --> </head> <body> <center><h1 Style=color:Lime> Movie review<h1></center> <img src="movie logo.jpg" width="200" height="200" border="2" alt="Logo"> <br> <fieldset> Commedy movie </fieldset> <hr> <center> <a href="https://www.rottentomatoes.com/">For more Movies Review click here.</a> </center> </body> </head> 

you will have to learn to use some tools and there are many different way to do that. 您将必须学习使用一些工具,并且有许多不同的方法可以做到这一点。 You can use html tables to position blocs where you want or the framework bootstrap or flexbox . 您可以使用html表将块定位在所需的位置,也可以使用框架bootstrapflexbox定位

For basic stuff I think flex box should be faster for you: an example: 对于基本的东西,我认为flex box对您来说应该更快:例如:

<!DOCTYPE html>
 <html>

  <head>
   <title>Assignment 2 </title>
  </head>

  <body>

     <div style="display: flex; justify-content: center">   

       <div style="height: 100px;width: 100px; background-color: aqua; margin: 15px;">Bloc 1</div>
       <div style="height: 100px;width: 100px; background-color:coral; margin: 15px;">Bloc 2</div>

     </div>

  </body>

</html>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM