• Home > Web Front-end > HTML Tutorial > Table usage of html (allowing the visual effects of the web page to be displayed)_HTML/Xhtml_Web page production

    Table usage of html (allowing the visual effects of the web page to be displayed)_HTML/Xhtml_Web page production

    WBOY
    Release: 2016-05-16 16:40:20
    Original
    1532 people have browsed it

    We know that when NetEase blog can use HTML, whether to add the code directly to the template, but the effect is not very good. That's because the code is not arranged well. Now let me talk about using a table to arrange it, which can display the special effects very well.

    In HTML syntax, table (i.e. table) is an indispensable part. Without it, it is difficult to display the visual effect of the web page. Now I will talk about table. Below is a table with two rows and two columns:

       
       

    The code is:





    < /TR>


    < /TABLE>

    tr means row, td means column, border means thickness ("0" means it will not be displayed),   means space. Here, the width of the table is preferably 100% (width="100%"), do you understand now? Once you understand, you can add the code you want in "

    ".

    For example:

      
      
     







    Welcome to ω.⑨s. Messenger Home 
      < /TD>

    The effect is:

    欢迎来到ω.⑨s.使者家园  
       

    Just like this, the others are the same.

    One more thing: when we make tables, there are some tables like this:

     
       
    and
       
     
    The method of

    is:









     
      

    and




    << /td>

      

    If you look carefully, you can see the extra colspan="2" and rowspan="2", right? ! ! ! This is what you want. "2" is a parameter, and you have to set it yourself〉


    <
    td> 
    Welcome to ω.⑨s. Messenger Home

    and


    < ;td> 




    Welcome to ω.⑨s. Messenger Home
     

    The effects of are:

    Welcome to ω.⑨s. Messenger Home

    and
    Welcome to ω.⑨s. Messenger Home

    Note: Other codes must be added in ...., this is dedicated to those friends who don’t know html! !
    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template