html----javaweb的辅助工具

    xiaoxiao2022-07-07  187

    <!DOCTYPE>标记

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" //向浏览器说明当前文件使用的html标准规范 "http://www.w3.org/TR/html4/loose.dtd"> <html> <!--根标记--> <head> <!--头部信息--> <link></link> <!--链接样式表--> <title>Insert title here</title> <!--描述文档标题--> </head> <body> 这是我的第一个HTML </body> </html>

    单标记:<标记名/>

    双标记名:<标记名>内容<标记名/>

    段落标记:<p></p>

    换行标记:<br>

    文本样式标记:<font></font>

    图像:<img src="" />

    表单标记:

    <from action="url地址" method="提交方式" name="表单名称"> <table cellpadding=" " align="center"> <tr> //行 <td> //列 <input type="password/text/file/submit/reset/" name="" value="" id="“/> </td> <td> <input type="radio" name="gender" value="male"/>男 <input type="radio" name="gender" value="female"/>女 //单选框,checkbox复选框 </td> </tr> </table> </from>

    多行文本标记:<texrarrea cols=" " rows=""></textarea>

    无序列表:<ul><li type="disc/square/circle"></li></ul>

    超链接标记:<a href="跳转目标" target="目标窗口的弹出方式(_self为默认值,_blank为新窗口,_top在整个窗口打开链接文件)">文本或图像</a>

    最新回复(0)