Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Pertecentes a (o) SP

Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 3 108 109 122
1.1.5 Presença de javascript(s) in-line 1 122
1.1.6 Presença de javascript(s) interno 3 9 39 118
108 <![CDATA[<img width="250" height="250" src="./assets/icons/loading_icon.svg" style="display: block; margin-left: auto; margin-right: auto; width: 50%;">]]>
109 <![CDATA[<label style="display: block; margin-left: auto; margin-right: 2.5em; width: 50%; font-family: 'Roboto Condensed', sans-serif;">Carregando...</label>]]>
122 <![CDATA[<button onclick="topFunction()" id="myBtnToTop" title="Voltar ao Topo" style="display: none;"><i class="dx-icon-chevronup"></i></button>]]>
122 <![CDATA[<button onclick="topFunction()" id="myBtnToTop" title="Voltar ao Topo" style="display: none;"><i class="dx-icon-chevronup"></i></button>]]>
9 <![CDATA[<script id="changeBaseHref" type="text/javascript"> var Obj = { wordToMatch: '', base: '/', isPortal: false, urlItems: function() { this.wordToMatch = window.location.pathname.split('/'); return this; }, checkPortalLocation: function() { if (this.wordToMatch[1].match(/portal-transparencia/) || this.wordToMatch[1].match(/portal/)) { this.isPortal = true; return this; } else { this.isPortal = false; return this; } }, portalLocation: function() { this.base = this.isPortal === true ? ('/' + this.wordToMatch[1] + '/') : '/'; return this; }, setBaseHref: function() { document.getElementsByTagName("base")[0].href = this.base; document.getElementsByName("msapplication-starturl")[0].content = this.base; } } Obj.urlItems().checkPortalLocation().portalLocation().setBaseHref(); </script>]]>
39 <![CDATA[<script type="text/javascript"> //Get the button: // When the user scrolls down 180px from the top of the document, show the button window.onscroll = function() {scrollFunction()}; function scrollFunction() { mybutton = document.getElementById("myBtnToTop"); if (document.body.scrollTop > 180 || document.documentElement.scrollTop > 180) { mybutton.style.display = "block"; } else { mybutton.style.display = "none"; } } // When the user clicks on the button, scroll to the top of the document function topFunction() { var nav = document.getElementById("nav"); navOffsetTop = nav.offsetTop; document.body.scrollTop = navOffsetTop; // For Safari document.documentElement.scrollTop = navOffsetTop; // For Chrome, Firefox, IE and Opera } </script>]]>
118 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>