Home > Web Front-end > HTML Tutorial > The included page does not display Chinese_html/css_WEB-ITnose

The included page does not display Chinese_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:20:48
Original
1789 people have browsed it

CSS 显示汉字

有俩个网页,每一个都是独立的网页,分别含有css,在网页1用包含网页2.但是在网页1中只显示网页2中的英文,中文显示不了,但是单独的网页2显示正常,求各位大神指导

回复讨论(解决方案)

代码贴出来。

编码格式。。。

代码贴出来。
这是网页1.



index













            
这是通知栏界面?---公告栏




  

  








联系我们   |   关于我们  |   订餐指南  |   免责声明   |   营业时间:07:00-24:00

使用条件   |   隐私声明  Copyright © XYH All Rights Reserved








代码贴出来。 我也觉得是编码格式,但是改了不对,应该是我改的不对

引用 1 楼 functionsub 的回复:代码贴出来。我也觉得是编码格式,但是改了不对,应该是我改的不对
网页2



  
  
  
  
  
  
  
    
  
  
  
  
  
  
  
  
  
  
 
  






















  • Our Staff1撒的发


      


    Helen Williams


    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciddunt ut labore et dolore magna aliqua nostrud exercitation.


    Read More




      

    Chester Hamper


    Cupidatat non proident sunt culpa officia deserunt mollit anim idst laborum. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.


    Read More


      










  • Our Staff2


      


    Helen Williams


    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciddunt ut labore et dolore magna aliqua nostrud exercitation.


    Read More




      

    Chester Hamper


    Cupidatat non proident sunt culpa officia deserunt mollit anim idst laborum. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.


    Read More


      










  • Our Staff3


      


    Helen Williams


    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciddunt ut labore et dolore magna aliqua nostrud exercitation.


    Read More




      

    Chester Hamper


    Cupidatat non proident sunt culpa officia deserunt mollit anim idst laborum. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.


    Read More


      










  • Our Staff4


      


    Helen Williams


    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciddunt ut labore et dolore magna aliqua nostrud exercitation.


    Read More




      

    Chester Hamper


    Cupidatat non proident sunt culpa officia deserunt mollit anim idst laborum. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.


    Read More


      










  • Our Staff


      


    Helen Williams


    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciddunt ut labore et dolore magna aliqua nostrud exercitation.


    Read More




      

    Chester Hamper


    Cupidatat non proident sunt culpa officia deserunt mollit anim idst laborum. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.


    Read More


      












<script> <br> $(window).load(function( ) { <br> $('.spinner').fadeOut(); <br> $('body').css({overflow:'inherit'}) <br> }) <br> </script>

Let’s unify meata and take a look. .

The way web page 2 is written is actually considered normal. . Some performance testing tools also recommend setting the encoding format like Web Page 2.

But I don’t know why this happened to you.

Is it because you set the charset in the two files? Try changing it to the same format in both ways. is the new format of HTML5, is the old format, since You have stated that the DOCTYPE is HTML5, so just use the HTML5 format

Well. . Also, use the CSDN code format for pasting code in the future. If you paste it directly, the format will be messy and no one will want to read it.

Uh-huh. . Also, use the CSDN code format for pasting code in the future. If you paste it directly, the format will be messy and no one will want to read it.
Well, I understand. I tried as you said and it still doesn’t work.

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