473,414 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Error: attribute name must be followed by an equals (=) sign and a value

Hello

I am getting a green underline error in VS2017 with this line of code:

Expand|Select|Wrap|Line Numbers
  1. <a data-scroll class="btn btn-start animated fadeInUpBig" href="#services">Start now</a>
The underline is under 'data-scroll' with the following error: 'This attribute name must be followed by an equals (=) sign and a value. If the value is in quotation marks, the quotation marks must match'.

Isn't my line of code followed by an equals (=) sign with matching quotation marks?

Thank you.
Jun 20 '18 #1
2 4366
Rabbit
12,516 Expert Mod 8TB
Isn't my line of code followed by an equals (=) sign with matching quotation marks?
Nope. It's followed by a different attribute, class.

Like the error message says, you need to follow it with the equals sign and a value.
<a data-scroll="some value" class="...
Jun 20 '18 #2
Many thanks for that Rabbit!
Jul 5 '18 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: karen | last post by:
hi, not sure if this is a php issue or an outlook issue or what. trying to send an html message via php, and it looks fine in hotmail, yahoo, and earthlink webmail, but when i receive the same...
3
by: Felix Hebeler | last post by:
Hi all, I am doing some Python scripting for a while, but I'm not too deep into it yet. So I have a problem I can't solve. I need to call an object attribute: value = object.attrName the...
2
by: GIMME | last post by:
For starters .... If : //input is the xpath syntax to see if an element with an attribute named start_date exists ... Then what is the xpath syntax to return elements having
2
by: Moonbeam66 | last post by:
I'm looking to convert an element name to an attribute name, where the element name is user-defined. For example <accountNumber>12345678</accountNumber>. I want to convert this to <userTag...
3
by: Steve | last post by:
Hiya I have a nodeReader object that I am looping through in order to retrieve the values from the attributes, but now I need the attribute name as well, does anyone know how to do this? I will...
6
by: btknorr | last post by:
The following html and javascript combination fails to execute in Internet Explorer...does anyone know why? If you change the input's attribute "name" to anything other than "item" it works just...
5
by: emma_middlebrook | last post by:
Hi I've found the rules that cover what is a valid attribute name here: http://www.w3.org/TR/2006/REC-xml-20060816/ 2.3 Common Syntactic Constructs Is there anything already in the dotnet...
1
by: redgrL86 | last post by:
Hi, I am trying to figure out how to see if any of a given set of childnodes equals a given string. For example, in the XML and XSL code below, I want the text in the "xsl:when" statement to output...
3
by: libish | last post by:
hi all.. can any one help me by suggesting an idea to take the attribute "name" from a node. <r t="error" a="active" i=""> here t , a , i are the attribute name and "error" , "active" , ""...
2
by: tookerello | last post by:
hi, im trying to display the attribute name of the parent node once the input matches a town name: my xml is: <phonebook> <area code="022"> <town>mallow</town> </area> <area...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.