Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Code error

Participant ,
Jan 08, 2017 Jan 08, 2017

I am coding a new index at maselva.com. I have a number of error codes that I cannot quite figure out how to resolve.

Error:

Tag must be paired, missing: [</p>] start tag match failed [<p style=font size:14px>]

I have tried adding tags, but I just don't get this.

Help?

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jan 08, 2017 Jan 08, 2017

I think the below is what you are trying to achieve? Copy and paste into a new Dreamweaver document and save in your site folder as index_test.html, view in browser and validate.

I dont really know what is going on with the bottom section so can I suggest you build that in a seperate document and when you have it correct paste it into this one, which is now error free - will validate apart from a couple of warnings about the 'border' element on your paypal image/s.........happy days.

<!DOCTYPE htm

...
Translate
LEGEND ,
Jan 08, 2017 Jan 08, 2017

You have no closing </p> tag in a lot of instances where you use the below styling:

<p style="font-size: 14px">

  Dr. Edward Bach, a London medical doctor created the 38 Bach Flower Remedies. Animals are very sensitive to the healing effects of the flower essences. If your pet tests positive for this modality, we then:<br>

   <strong><span style="">Determine which essence(s) are needed <br>

  Test for Frequency per day <br>

  Test for Duration of treatment <br>

  Test to determine if<br>

crystal essence(s) is also needed </span><br></strong>

I dont know where you need it to go as you have a list and paragraph mixed together. Ideally your mark-up should include a list, like below, then you style the list using css:

<p style="font-size: 14px">

  Dr. Edward Bach, a London medical doctor created the 38 Bach Flower Remedies. Animals are very sensitive to the healing effects of the flower essences. If your pet tests positive for this modality, we then:

</p><!--- closing tag -->

<ul>

<li>Determine which essence(s) are needed</li>

<li>Test for Frequency per day </li>

<li>Test for Duration of treatment </li>

<li>Test to determine if crystal essence(s) is also needed</li>

</ul>

But whatever you decide you need to close the </p> tag at some point in the code to get rid of  the errors.

Also it will be much easier to manage if you don't use inline css styling.

Rather than this:

<p style="font-size: 14px">

Just use a <p> tag without the inline styling and then create a css selector in your stylesheet to target the <p> tag within the 'caption' <div>:

.caption p {

font-size: 14px;

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 08, 2017 Jan 08, 2017

I have tried placing the closing tag in a variety of locations but have not hit the winning combination yet!

I will have another go at it with your advice in mind.

Thanks,

MaryAnn

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2017 Jan 08, 2017

Your alos missing a clsong </div> form your Bootstrap <div class="navbar-header">. It should go in the code direftly before the <!-- comment -->

</div>

<!-- Collect the nav links, forms, and other content for toggling -->

That should get rid of a few more of you errors.

EDITED.

You are also missing some more tags from your Bootstrap navbar, the closing </ul> and the </li> marked in red.

<li><a href="#">One more separated link</a> </li>

</ul> 

</li> 

</ul>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 08, 2017 Jan 08, 2017

This is so hard to figure out it is making me crazy!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2017 Jan 08, 2017

maryanns50585047 wrote:

This is so hard to figure out it is making me crazy!

Yup, and using Bootstrap only makes it doubly difficult because it inserts so many unnecceasry tags which become problematical to manage, ie it fills your page with junk code as opposed to if you write the code yourself you end up with nice code.

You MUST learn to comment ALL of your tags

<div class="container">

</div>

<!-- end container -->

rather than having this garbage in the code.

</div>

</div>

<div>

</div>

Have you used the matching bracket feature in DW - I'm sure it has one, that might help find the pairings.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 08, 2017 Jan 08, 2017

I had no idea I was supposed to include comment on tags! who knew?

Thanks for your input. Hopefully I will get better at this!

MaryAnn

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2017 Jan 08, 2017

maryanns50585047 wrote:

I had no idea I was supposed to include comment on tags! who knew?

Well it helps isolated sections of the code and I have found it to be invaluable when trouble shooting or moving code.

maryanns50585047 wrote:

Hopefully I will get better at this!

You will, it takes a bit of time.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 08, 2017 Jan 08, 2017

Still have not resolved any of this…sigh…looking for matching bracket feature in DW…closest thing I have found is balance braces…is that it?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2017 Jan 08, 2017

I think the below is what you are trying to achieve? Copy and paste into a new Dreamweaver document and save in your site folder as index_test.html, view in browser and validate.

I dont really know what is going on with the bottom section so can I suggest you build that in a seperate document and when you have it correct paste it into this one, which is now error free - will validate apart from a couple of warnings about the 'border' element on your paypal image/s.........happy days.

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Heart to Heart Animal Communication</title>

<!-- Bootstrap -->

<link rel="stylesheet" href="http://maselva.com/css/bootstrap.css">

<style type="text/css">

body {

background-color: #EBE0C2;

background-repeat: repeat;

background-origin: content-box;

background-attachment: scroll;

background-clip: content-box;

background-position: 12% 0;

background-image: url(AC%20Bkg-02.png);

-webkit-box-shadow: 0px 0px;

box-shadow: 0px 0px;

}

.email {

font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;

color: hsla(0,0%,0%,1);

text-align: center;

}

h1 {

font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;

color: hsla(0,0%,0%,1);

text-align: center;

}

  

h2 {

font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;

color: hsla(0,0%,0%,1);

text-align: center;

}

</style>

<link href="http://maselva.com/mystyle.css" rel="stylesheet" type="text/css">

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->

<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

<!--[if lt IE 9]>

<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>

<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

<![endif]-->

</head>

<body>

<!-- Brand and toggle get grouped for better mobile display -->

<!-- Collect the nav links, forms, and other content for toggling -->

<!-- /.navbar-collapse -->

<!-- /.container-fluid -->

<div id="carousel1" class="carousel slide" data-ride="carousel">

<ol class="carousel-indicators">

<li data-target="#carousel1" data-slide-to="0" class="active"> </li>

<li data-target="#carousel1" data-slide-to="1" class="active"> </li>

<li data-target="#carousel1" data-slide-to="2" class="active"> </li>

</ol>

<div class="carousel-inner">

<div class="item"> <img class="img-responsive" src="slides/ma.slide.1.jpg" alt="thumb">

<div class="carousel-caption"> What are they trying to tell us? They appreciate being heard! </div>

</div>

<div class="item active"> <a href="slides/ma.slide.2.jpg"><img class="img-responsive" src="slides/ma.slide.2.jpg" alt="Heart to Heart Cats"></a>

<div class="carousel-caption"> In body and in spirit...they can talk with us! </div>

</div>

<div class="item"> <a href="slides/ma.slide.3.jpg"><img class="img-responsive" src="slides/ma.slide.3.jpg" alt="thumb"></a>

<div class="carousel-caption"> Improve the quality of their lives with Animal Communication! </div>

</div>

</div>

<a class="left carousel-control" href="#carousel1" data-slide="prev"><span class="icon-prev"></span></a> <a class="right carousel-control" href="#carousel1" data-slide="next"><span class="icon-next"></span></a></div>

<h1><span class="center-block" style="text-align: center">Mind to Mind. Heart to Heart</span></h1>

<nav class="navbar navbar-inverse">

<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="#inverseNavbar1" aria-expanded="false"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>

</div>

<!-- Collect the nav links, forms, and other content for toggling -->

<div class="collapse navbar-collapse" id="inverseNavbar1">

<ul class="nav navbar-nav">

<li class="active"><a href="#">About Animal Communication<span class="sr-only">(current)</span></a></li>

<li><a href="#">Aromatherapy</a></li>

<li><a href="#">Bach Flower Essences</a></li>

<li><a href="#">Color Therapy</a></li>

<li><a href="#">Crystal Therapy</a></li>

<li><a href="#">Muscle Testing</a></li>

<li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true">Energy Work <span class="caret"></span></a>

<ul class="dropdown-menu">

<li><a href="#">Balance Chakras</a> </li>

<li><a href="#">Message Wand</a> </li>

<li><a href="#">SASA Energy Work</a> </li>

<li role="separator" class="divider"></li>

<li><a href="#">Separated link</a> </li>

<li role="separator" class="divider"></li>

<li><a href="#">One more separated link</a> </li>

</ul>

</li>

</ul>

</div>

<!-- /.navbar-collapse -->

</div>

<!-- /.container-fluid -->

</nav>

<!-- end nav -->

 

 

<h3 class="text-center">Opening the lines of communication between you and your beloved pet.</h3>

<span class="center-block text-center">Improve the quality of your pet's life with Animal Communication.<br>

Ask specific questions to receive a better understanding of what your pet needs you to know.<br>

<strong><em> I give them an out loud voice through the practice of inward intuition. Mind to Mind. Heart to Heart. </em></strong></span>

<div class="container">

<div class="row text-center">

<div class="col-md-4">

<div class="thumbnail"> <a href="images/Animal-Communication-logo.jpg"><img alt="Thumbnail Image 1" class="img-responsive" src="images/Animal-Communication-logo.jpg"></a>

<div class="caption">

<h3>Animal Communication</h3>

<p>

Send me an email and follow the above PayPal link to begin. If you prefer alternate mode of payment, please call me to make arrangements. TheAnimal Communication service is $100 and includes questions you may have after I have connected with your pet. Future follow ups for that pet are $25. per session.

</p>

          

<p>

I will schedule a phone meeting with you. Have a specific question prepared. Tell me the name, gender and age of your pet. Send me a picture that clearly shows their eyes. We will talk about what is going on with your pet and what you wish to share with them and or learn from them.I connect to your pet telepathically, so distance is a non-issue.

</p>

          

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">

<input type="hidden" name="cmd" value="_s-xclick">

<input type="hidden" name="hosted_button_id" value="LML3MCTMB6D7A">

<table>

<tr><td><input type="hidden" name="on0" value="Animal Communication Services">Animal Communication Services</td></tr><tr><td><select name="os0">

<option value="Full Session">Full Session $100.00 USD</option>

<option value="Follow Up">Follow Up $25.00 USD</option>

</select></td></tr>

</table>

<input type="hidden" name="currency_code" value="USD">

<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">

<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

</form>

<p>

In closing, I ask if there is something they want to tell you. They appreciate being heard and always have a message to share! I then preparea written summary of what I have received from them and send to you via email. I follow this up with a phone conversation so we can discuss what I have received in the reading.

</p>

<p>

In addition, I will test your pet to determine which, if any, modalities will offer further assistance to resolve the issue or support the mental/emotional state of your pet. This evaluation is included with the Animal Communication fee or may be purchased as a stand alone service for $30.

</p>

<p>

If support treatments are needed or requested, please submit payment using the Therapy Modalities Order Form link below.

</p>

<div><h4>Therapy Modalities Order Form </h4><br></div>

</div>

<!-- end caption -->

</div>

<!-- end thumbnail -->

</div>

<!-- end col-md-4 -->

<div class="col-md-4">

<div class="thumbnail"> <img src="images/400X200.gif" alt="Thumbnail Image 1" class="img-responsive">

<div class="caption">

<h3>Aromatherapy</h3>

<p>

This is a therapy utilizing essential oils. The oils are diluted in a carrier oil or water and rubbed on the skin or inhaled throuth the use of a diffuser. Documented veterinary remedies date back to the 18th century They are considered to be:</p>

<p>

<strong><span style="">Antiseptic<br>

Antimicrobial <br>

Detoxifying <br>

Rejuvenating </span><br></strong>

</p>

</div>

<!-- end caption -->

</div>

<!-- end thumbnail -->

<div class="thumbnail"> <img src="images/400X200.gif" alt="Thumbnail Image 1" class="img-responsive">

<div class="caption">

<h3>Color Therapy</h3>

<p>

Each color emits it's own vibration and the use of Chromography can assist in healing both animals and people. Colors can be offered in many ways, however, it is best to offer color as a choice. Sometimes the treatment involves the removal of a color.

</p>

</div>

<!-- end caption -->

</div>

<!-- end thumbnail -->

<div class="thumbnail"> <img src="images/400X200.gif" alt="Thumbnail Image 1" class="img-responsive">

<div class="caption">

<h3>Energy Work</h3>

<p>

This is a therapy utilizing essential oils. The oils are diluted in a carrier oil or water and rubbed on the skin or inhaled throuth the use of a diffuser. Documented veterinary remedies date back to the 18th century They are considered to be:

</p>

<p><strong><span style="">Antiseptic<br>

Antimicrobial <br>

Detoxifying <br>

Rejuvenating </span><br></strong>

</p>

</div>

<!-- end caption -->

</div>

<!-- end thumbnail -->

 

</div>

<!-- end col-md-4 -->

<div class="col-md-4">

<div class="thumbnail"> <img src="images/400X200.gif" alt="Thumbnail Image 1" class="img-responsive">

<div class="caption">

<h3>Bach Flower Essence</h3>

<p>

Dr. Edward Bach, a London medical doctor created the 38 Bach Flower Remedies. Animals are very sensitive to the healing effects of the flower essences. If your pet tests positive for this modality, we then:

</p>

<p>

<strong><span style="">Determine which essence(s) are needed <br>

Test for Frequency per day <br>

Test for Duration of treatment <br>

Test to determine if<br>

crystal essence(s) is also needed </span><br></strong>

</p>

</div>

<!-- end caption -->

</div>

<!-- end thumbnail -->

<div class="thumbnail"> <img src="images/400X200.gif" alt="Thumbnail Image 1" class="img-responsive">

<div class="caption">

<h3>Crystal Therapy</h3>

<p>

All crystals have healing properties that can help animals. Their use for healing dates back to at least 25,000 B.C.

</p>

</div>

<!-- end caption -->

</div>

<!-- end thumbnail -->

<div class="thumbnail"> <img src="images/400X200.gif" alt="Thumbnail Image 1" class="img-responsive">

<div class="caption">

<h3>Message Wand Healing</h3>

<p>

This is a therapy utilizing essential oils. The oils are diluted in a carrier oil or water and rubbed on the skin or inhaled throuth the useof a diffuser. Documented veterinary remedies date back to the 18th century They are considered to be:

</p>

<p>

<strong><span style="">Antiseptic<br>

Antimicrobial <br>

Detoxifying <br>

Rejuvenating </span><br></strong>

</p>

</div>

<!-- end caption -->

</div>

<!-- end thumbnail -->

</div>

<!-- end col-md-4 -->

</div>

<!-- end row -->

  </div>

<!-- end container -->

<footer class="text-center">

<div class="container">

<div class="row">

<div class="col-xs-12">

<h6>Copyright © Heart to Heart. All rights reserved.</h6>

</div>

<!-- end col-xs-12 -->

</div>

<!-- end row -->

</div>

<!-- end container -->

</footer>

<!-- end footer -->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

<script src="http://maselva.com/js/jquery-1.11.3.min.js"></script>

<!-- Include all compiled plugins (below), or include individual files as needed -->

<script src="http://maselva.com/js/bootstrap.js"></script>

</body>

</html>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 08, 2017 Jan 08, 2017
LATEST

Oh happy days is right! YOU ROCK!

This will help me learn A LOT-many thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines