标题标签不起作用

时间:2015-01-31 06:35:36

标签: html

这是我的头部。我不知道为什么,但我的标签根本不起作用。 ...访问我的网站www.utile.in

<!DOCTYPE html>
    <html lang="eng">
    <head>
    <meta charset="UTF-8">
    <title>Search home professionals and design ideas</title>
    <meta name="description" content="find home remodelling contractors and design ideas" />
    <meta name="keywords" content="Carpenter,Plumber,Interior designer,Architect,Electrician,Pest control,Movers and packers" />
    <meta name="author" content="metatags generator">
    <meta name="robots" content="index, follow" />
    <meta name="revisit-after" content="1 month" />

    <!-- Interior designer,Architect,Plumber --><cmt>

    </head>

4 个答案:

答案 0 :(得分:3)

检查您网站的源代码,您会在开头找到以下内容

    <head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="css/bootstrap.min.css">

你需要解决这个问题才能拥有一个有效的标题

答案 1 :(得分:2)

这是在你的html标签之前插入的,你需要找出生成它的内容并将其删除。

<head>
        <meta charset="UTF-8">
        <title></title>
        <link rel="stylesheet" href="css/bootstrap.min.css">

        <link rel="stylesheet" href="css/bootstrap-theme.min.css">
        <link rel="stylesheet" href="css/style.css">
        <link rel="stylesheet" href="includes/style.css">
        <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
        <script type="text/javascript" src="js/jquery.leanModal.min.js"></script>
        <link rel="stylesheet" href="css/font-awesome.min.css" />
        <link type="text/css" rel="stylesheet" href="style_toggle.css" />

        <!-- Latest compiled and minified JavaScript -->
        <script src="js/bootstrap.min.js"></script>
         <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.1.47/jquery.form-validator.min.js"></script> 
        <script src="js/search.js" type="text/javascript"></script>
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">

            $.validate();
        </script>
        <link rel="stylesheet" href="css/searchq.css">

        <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&amp;sensor=false&amp;libraries=places"></script>

    </head>
<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <h3><a class="navbar-brand" href="home">Utile</a></h3>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a href="home">Home <span class="sr-only">(current)</span></a></li>
                <li><a href="#">Browse Photos</a></li>

            </ul>





                <ul class="nav navbar-nav navbar-right">
                    <li><a href="signin">Login</a></li>
                    <li><a href="signup">Sign Up</a></li>
                    <li><a href="becomemember"><button type="button" class="btn btn-primary">Become Professional</button></a></li>
                </ul>


        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

答案 2 :(得分:0)

我在标题页来源中看到了这个...你错过了标题

     <head>
        <meta charset="UTF-8">
            <title></title>
             <link rel="stylesheet" href="css/bootstrap.min.css">
 ...

答案 3 :(得分:0)

如果您创建的标题标签未在浏览器中显示其文本,则应尝试重新启动Web服务器或清除浏览器缓存并重新加载文件。