HTML (HyperText Markup Language) is the predominant markup language used for creating web pages. In modern web pages, HTML is used to markup the contents of the website, while CSS and Javascript are used to define the styles and behaviors respectively.

learn more… | top users | synonyms (1)

1
vote
1answer
89 views

Silo structure on magazine site

I will have to code magazine theme using silo structure. Requirements of the design is to display most recent posts of each category on the home page, popular/last commented posts in the sidebar etc ...
4
votes
2answers
1k views

Schema.org WebPage structure for single page site

I am building a single page portfolio site with WordPress for a client which is divided into sections that would traditionally be separate pages like - about, portfolio, contact. Can I nest multiple ...
1
vote
0answers
47 views

Using the <audio> tag with a “.ogg” mp3 stops in Chrome when I change tracks

I'm using the following code to stream audio on a web page: <audio controls autoplay="autoplay"><source src="http://example:8001/mpd.ogg" type="audio/mp3"> It works just well on Firefox, ...
1
vote
2answers
140 views

SEO effect with different font for some characters?

I have a different font for some characters in my website, so the code is like this: <h1>L<span style="letter-spacing: -5px">a </span><span ...
3
votes
3answers
372 views

Common Header & Footer for HTML Site

I'm about to re-work an old HTML-based site and would like to separate out the header and footer of the content into separate files as they'll be common to all pages. The current site author just ...
5
votes
3answers
3k views

Specifying image dimensions to improve browser performance

I recently ran an audit on my web site using Google Developer Tools. My images are all the same size (500 horizontal by 300 vertical pixels) so I thought it would be better if I left out the image ...
0
votes
0answers
12 views

Make Offscreen Sliding Content Without Hurting SEO [duplicate]

On my website I have content which is positioned off the screen, and then slides in when you click a button. For example, when you click the news button, content slides in with news. It didn't occur ...
0
votes
3answers
122 views

How to find keywords in HTML code? [closed]

I want to check if on a web page I can find defined words. For example I want to check if a web page contains word 'abc'. I know that some pages contains meta tag with name = keywords and ...
1
vote
1answer
566 views

Google is not picking up meta description approximately 50 percent of the time on our website

We have a valid description meta tag on our website. We recently updated it. Temporarily we included a character (plus symbol) that may have been invalid. Since including this character, google would ...
0
votes
2answers
282 views

How can I remove the .html extension for static webpages that are indexed so they'll still work in a WordPress site?

I have a static HTML website with less than 100 pages and 99 of them are indexed in Google's search engine. I want to convert it into a WordPress website, but there are some problems I'm worried ...
2
votes
5answers
176 views

How to align images left or right using semantically named classes?

I want to align images in a text. Some pictures should be on the right side and some other on the left side. I can achieve this by adding class="right" or class="left" to the img element. But these ...
0
votes
1answer
136 views

Image Link with Nofollow tag. Good or Bad practice?

Which is the best practice, from an SEO point of view, if you have a list of products which have both image and text link? 1) one A tag with the image and product name inside? <a ...
2
votes
3answers
463 views

Placement of code in HTML document affecting SEO

I have a navigation bar div with all my navigation code, a sidebar div with all my code and content that goes in my static sidebar, a footer div with all my footer code that goes in my static footer, ...
1
vote
1answer
104 views

The word “logo” is appearing in all my SERP, but it's not in my page titles

When I search for my website in Google, the word "logo" is being displayed in all the results, but I didn't specify the word "logo" in the titles of my HTML pages. See the following screenshot: ...
1
vote
1answer
44 views

How to upload a HTML file on server so that it displays like a webpage?

The question is about uploading a file to a web server which could be accessed from a domain address and is not specific to WordPress only. My server runs WordPress, so there's a japanaddicts.org ...
2
votes
2answers
670 views

HTML Character Entities/Special characters with crossbrowser/crossplatform support?

I used some good looking ones from http://dev.w3.org/html5/html-author/charref on my site but I just noticed that they don't show on mobile browsers of Android. For example: ⪦ &ltcc; ...
0
votes
1answer
374 views

SEO-friendly Responsive Design, swap navigation UL for Select?

I am designing the menu for a web site, and I was hoping to find an SEO-Friendly way to implement the Responsive Design used here: Ask4Sam.net- Responsive Design Example As you can see, for large ...
3
votes
7answers
90 views

Will a missing <head> tag prevent Google from indexing a WordPress site?

I was recently trying to configure a Google Webmasters Tools account for a client. I spent almost an hour wondering why I couldn't get the site to validate, when I found that the opening tag was ...
2
votes
1answer
349 views

Is it acceptable to repeat the same h1 tag for desktop and mobile browsers in a responsive site?

I have a website with a page that has a video as the main content. It uses a responsive design layout that requires the <h1> tag (with the same text) to be used in two different places: one for ...
4
votes
1answer
152 views

Does Google index images in anything other than an img tag?

I was thinking of making a 'load on scroll' image gallery plugin, i.e. I do not want the image to load until it is in view in the viewport. That got me thinking in terms of implementation. I don't ...
2
votes
2answers
184 views

Should <meta property=“og:image” content=“…”> have an alt tag?

I want to follow good SEO practices by adding alt tags to all my images. For Facebook sharing, I have this code: <meta property="og:image" content="..."> can I add an alt="Facebook image" to ...
4
votes
4answers
1k views

Self-referential hreflang attributes for single language website?

I've been told by an SEO company to add a hreflang attribute to every page on a single-language website (ie. 'self-referential' tags), but everything I've read about the hreflang tag, including ...
0
votes
2answers
517 views

Can I create a div to display web content from another website?

Let's say my homepage is www.example.com and I want to add a div on it. When people visit my page, I want to show the content from www.google.com within the div. When visitor clicked any link on ...
4
votes
1answer
127 views

How strict is the “same content” requirement for Google HTML snapshots? Can pared down HTML with the same text be used?

Are there any requirements for a HTML snapshot for Google other than: .. must contain the same content as the dynamically created page .. found here: ...
1
vote
2answers
80 views

Should I learn html/css before php even for using database? [closed]

I have seen lots of questions about this topic and all of them were asking whether someone, who wants to use PHP for "building web pages", should learn HTML first, or not? Most of the answers said ...
1
vote
0answers
23 views

Why are the stats for HTML Improvements in Google Webmaster Tools not decreasing? [duplicate]

I have read that resolving HTML Improvements in Google Webmaster Tools can take as long as 6 weeks to show up, but those numbers seem to increase without decreasing even though I've been fixing almost ...
1
vote
1answer
47 views

How to edit thousands of html pages at once? [closed]

I need to edit thousands of pages for a website with dynamic content added manually by the owner throughout 3 years, it has thousands of pages and I'm sure there is a better way to edit them without ...
1
vote
3answers
386 views

index.html in subdirectory will not open

I want to have a website structure like this: example.com/ - homepage example.com/solutions/ - this will be the solution parent page example.com/solutions/solution-one - child solution page ...
2
votes
1answer
94 views

What if my HTML snapshot for Googlebot doesn't contain the same content as the dynamically created page?

According to Google here: The HTML snapshot must contain the same content as the dynamically created page. What if my returned HTML Snapshot doesn't contain the same content as the actual ...
2
votes
1answer
68 views

As per W3C can we add onclick inside li tag?

I have 2 questions: As W3C can we add onclick inside <li> tag? Will this affect anything to do with SEO? For example: <li onclick="newDoc()">Click!</li> function newDoc() ...
0
votes
1answer
27 views

How do I generate this layout? [closed]

I want to create a template like the below image. The yellow block displays a transparent background colour over the top of the header block. How can I do this using HTML & CSS? Thanks.
2
votes
3answers
288 views

Can microdata be used within META and custom tags?

META tags that sit within HEAD of a webpage. What difference it makes when using microdata in them and outside of HEAD of webpage? Let's take for example "datePublished" property. Instead of hunting ...
1
vote
1answer
56 views

URL query is adding an unecessary comma

I am trying to automatically place login data through a URL query for my university services. (https://login.gatech.edu/cas/login) two problems arise when I try to pass a URL query (Ex: ...
4
votes
1answer
214 views

How can I serve all resources under HTTPS instead of HTTP without changing their URLs in the HTML code

I know that by using an .htaccess file I can redirect everyone to https://. However, my SSL certificate complains if all the content isn't served under HTTPS. Is there a way to convert all the ...
13
votes
8answers
4k views

Is inline JavaScript good or bad?

I've currently switched from WordPress to Yii framework and an external developer is rebuilding my site. One thing I notice is that each time he invokes AJAX / jQuery the Yii way, it embeds inserts ...
0
votes
1answer
105 views

Does meta tag in body section with itemprop and content work on SEO?

I noticed that <meta> tags in body only works with itemprop set, but I have a question. Do search engines read its content?
2
votes
2answers
128 views

Using the HTML input “name” attribute and SEO

From an SEO point-of-view, which version is better: <input type="text" name="q" value="search" /> or <input type="text" name="query" value="search" /> Here's another example: ...
1
vote
1answer
480 views

SEO/Google: Does Google bot properly handle break <br /> tags in an <h1>?

Thinking about keywords in headings on pages. When Google crawls the page, and comes across this: <h1>First Keyword<br /> Second Long Tail<br /> Keyword</h1> It's smart ...
3
votes
3answers
465 views

Basic semantic rules of CSS (and HTML), right or wrong?

Here is the summary I've recently learnt from discussions on this site (and similar) of 4 basic rules, so please correct me if I'm wrong or misunderstood something: a) Don't use IDs in CSS (or use it ...
0
votes
1answer
77 views

Port numbers appearing in the URLs on my development site under Apache and Python

I've built a static site. Locally, when I serve the content with python -m SimpleHTTPServer everything behaves normally, but when I copy the HTML onto the server and browse the site at the server's ...
1
vote
1answer
125 views

SEO-wise is it better to have a catchphrase in a header or out of header?

EDIT: In the original question I talked about spans in headers, but because of misguided answers I edited the question to better reflect the fact that the keyword is catchphrase not span. Thus the ...
2
votes
2answers
85 views

Need help with first website ever! [closed]

This is the first website i am making with HTML and CSS. Truly i am learning as I go but I need some questions answered before I write to much incorrect code. First a a little intro about the design ...
0
votes
2answers
68 views

Should notification messages be embedded in html or separate using jQuery?

I was originally thinking I could make a notification bar using jQuery. The downside is if someone has javascript disabled, they would never see the message. The upside is that the messages wouldn't ...
6
votes
1answer
692 views

Why should we prefer table over div when it comes to emailers?

When it comes to converting designed email templates to html format, how is a table layout better than a div? What are the exact reasons we tend to choose table over div for emailers?
6
votes
4answers
1k views

Too many duplicate image alt attributes. What to do?

I've got a table. And as you can see below I've got a lot of duplicate alt attributes going on. What is the best way to prevent this but still have valid HTML5 code? <table id="benefits"> ...
2
votes
1answer
63 views

Multiple index pages on website for multiple locations, SEO no-no?

We have a ecommerce website that can deliver products all over the country. We have seen at least one of our other competitors create an index page for every city in the country. So the pages ...
0
votes
1answer
52 views

Will HTML that is in fact text have an impact on SEO?

My website's dreadful search performance has always been a mystery. It could just be short, concise content but I believe it's something bigger. My site is a crowdsourced map - people contribute ...
3
votes
2answers
47 views

Standards for long format dialogue when published to web

I'm posting some extremely long audio transcripts from 50 minute long radio recordings. I'm afraid that any search engine crawler will read these really long documents and treat it negatively because ...
1
vote
1answer
694 views

Which MIME type to compress? and what If I omit the `type` attribute from the HTML?

Per my request, my webhost had turned mod_deflate ON. In my Cpanel I now have an "Optimize Website" button. Inside that menu I could either choose: "Compress all content" or "Compress the specified ...
0
votes
1answer
99 views

What is the appropriate HTML markup for LinkedIn status updates?

I am using WordPress to power my website. I use WordPress SEO by Yoast as an SEO plugin of choice. It's a nice plugin, adds appropriate markup for Twitter, Facebook and Google Plus. However, I ...