# Javaweb study notes (continually updated)

Javaweb study notes

Html Technology

  • Document Type DOCTYPE is the abbreviated meaning for the document type, <!DOCTYPE html>is a HTML5 DOCTYPE declaration, expressed render the Web page standard is based on HTML5, standards-compliant mode, HTML4.01 document type declaration is more complex, HTML5 in the declaration is greatly simplified .

  • HTML is the carrier web content, CSS is the dress page, change the appearance (colors, fonts, add picture frame), JavaScript to achieve animation effects

  • Miscellaneous labels are generally in <head>the label

    <head>
        <title></title>
        <base href="http://localhost/images/" /> <!--为页面上的所有链接设置默认URL地址或目标target,当HTML5文档中使用了相对路径时,浏览器使用<base>指定的URL补全-->
        <base target="_blank" /> <!--为网页所有超链接设置统一打开方式-->
        <mata name="参数" content="具体描述"> 
        <!--meta表达的是整个HTML文档的描述信息,影响搜索引擎注册和搜索引擎优化,
          有3个属性,name,http-equiv的值表示属性,content的值具体描述属性,每个name或http-equiv对应一个content,
      name属性由以下几种参数
      -->
        <meta name="keywords" content="Lxxyx,博客,文科生,前端">
          <meta name="description" content="文科生,热爱前端与编程。目前大二,这是我的前端博客">
        <meta name="author" content="Lxxyx,[email protected]">
        <meta name="copyright" content="Lxxyx"> //代表该网站为Lxxyx个人版权所有。
        <meta http-equiv="refresh" content="2;URL=http://www.lxxyx.win/"> //意思是自动刷新,2秒后跳转向我的博客
        <meta charset="utf-8"> //HTML5设定网页字符集的方式,推荐使用UTF-8
    
        <style></style //CSS区域
        <link rel="stylesheet" href="my1.css" /> //链接外部css代码
    </head>
  • Tags can have attributes, attribute in the HTML element specified in the start tag , <a href="https://.....>实验楼</a>, <p style="blackground-color:red:>实验楼</p>separated by spaces between property

  • start attribute list of tags using the same numbers, for example, indicated by the letter bullet type, from the 'b' started<ol type="a" start="2"><li></li></ol>

  • Entity vector graphic elements file called objects, each object is a self-contained: vector and bitmap

  • Web page description language, Hypertext Markup Language, HTML

    • Hypertext: beyond the scope of the text, referring to possible descriptive text, pictures, video and other content on the page
    • Tags: label, the label inside your writing
    • Language: HTML is the tool user and the browser interaction, the browser parses the HTML tags, showing a particular effect
  • Statement document <DOCTYPE!>: Statement HTML type and version number

  • The root tag <html></html>marks the beginning and end of HTML, if not the end of the label, their own end,<br />

  • Case-insensitive source, the source line feed, page does not wrap, wrap use <br>linefeed source in space and more than one will be replaced by a blank

  • <th></th>Form auto bold centered, for the first line of the table

CSS

Cascading Style Sheets, Cascading Style Sheet, enhance the display page, the web content and style separation, easy to maintain website code later

Reference

The main use of embedded links and type

  • Embedded: css code is written in the head tag (html page load order from top to bottom, load css styles before body) in

Guess you like

Origin www.cnblogs.com/sstealer/p/11708531.html