Title: Difficult HTML 5 validation error
Last modified: August 20, 2016

---

# Difficult HTML 5 validation error

 *  [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * (@johanna2patricia)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/difficult-html-5-validation-error/)
 * Hi everybody,
    The last week I have been trying to get my site to validate according
   to the HTML 5 standard. I am down to 1 error and can’t seem to find the answer
   to fix that. This is the error:
 *     ```
       The profile attribute on the head element is obsolete. To declare which meta terms are used in the document, instead register the names as meta extensions. To trigger specific UA behaviors, use a link element instead.
       ```
   
 * And these are the lines in the functions.php of my library folder(Evolve theme):
 *     ```
       function evlget_profile_uri( $echo = 1 ) {
       	// hAtom profile
       	$profile[] = 'http://purl.org/uF/hAtom/0.1/';
   
       	// hCard, hCalendar, rel-tag, rel-license, rel-nofollow, VoteLinks, XFN, XOXO profile
       	$profile[] = 'http://purl.org/uF/2008/03/';
   
       	$profile = join( ' ', apply_filters( 'profile_uri',  $profile ) ); // Available filter: profile_uri
   
       	if ( $echo ) echo $profile;
       	else return $profile;
       }
       ```
   
 * I understand that the profile function is no longer supported in html 5, but 
   what code should it be then?
    My site:
    - [http://www.secretsistersblog.com](http://www.secretsistersblog.com)
 * Thanks.
 * Johanna

The topic ‘Difficult HTML 5 validation error’ is closed to new replies.

## Tags

 * [html5](https://wordpress.org/support/topic-tag/html5/)
 * [profile](https://wordpress.org/support/topic-tag/profile/)
 * [UA](https://wordpress.org/support/topic-tag/ua/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 0 replies
 * 1 participant
 * Last reply from: [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/difficult-html-5-validation-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
