```html
<html lang="<?php echo $lang; ?>">
```
instead
```html
<head profile="http://gmpg.org/xfn/11">
```

profile need only for html 4.01