sr
Serbian
Српски
Indo-European
Language Code
ISO 639-1 Code
sr
Common Usage
HTML lang attribute
<html lang="sr">
HTTP Accept-Language Header
Accept-Language: sr
JavaScript/TypeScript
const language = "sr"; const languageName = "Serbian";
ISO 639 Standard
ISO 639-1 is the international standard for language codes. These two-letter codes are used in HTML lang attributes, HTTP headers, and i18n/l10n systems. The code "sr" represents Serbian (Српски) and is part of the Indo-European language family.
