Element i not allowed as child of element ol in this context.

Hi, on this page: frozenfoodfulfillment.com/responsive/agreement2.html, I got that error. I had already stried  wrapping the words in an <em> tag, but got: Element em not allowed as child of element ol in this context.

I tried: <span style="font-style:italic;"> but got: Element span not allowed as child of element ol in this context.

So how can I italicize certain words in an ol tag?

Thanks for your help.
Melody ScottAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
You can't.  'ol' (ordered list) and 'ul' (unordered list) are grouping tags, not display elements.  You need to use 'li' as the individual elements and you can style them.  More info here: http://www.w3schools.com/html/html_lists.asp
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I think the issue is you don't have an opening li tag but you do have a closing li tag.

<ol> Fees and charges for the Services are as set forth in the Proposal and shall be reviewed annually and agreed upon for subsequent 1-year periods; <i>provided, however,</i> that such rates may be increased by Provider on no less than thirty (30) days prior notice based on a documented increase of five percent (5%) or more of Provider&rsquo;s costs to provide the Services.  Unless otherwise provided in the Proposal, fees and charges will be invoiced weekly and paid by Customer within seven (7) days after invoice. Interest on any late payments shall accrue at the rate of one (1.0%) per month or partial month during which any sums under any such payment invoices were owed and unpaid, or the highest rate permitted by law, whichever is lower, from the date such amount is due until finally paid.  In addition to the foregoing, In the event that an invoice is not paid within fourteen (14) days after due, Provider shall have the right, effective upon written notice to suspend its obligation to provide Services pursuant to this Agreement until the outstanding balance of such invoice is paid in full.  For any services not specified in the Proposal, Customer shall pay to the Provider such consideration as may be mutually agreed upon in advance in writing or, absent such agreement, Provider&rsquo;s then prevailing standard rates. </li>

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Melody ScottAuthor Commented:
That was it, it validates now. Thanks!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.