🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.php
4 messages
4 total messages Started by w systemie siła 'POPIS/EU Sat, 12 Aug 2017 16:54
p a alt
#231792
Author: w systemie siła 'POPIS/EU
Date: Sat, 12 Aug 2017 16:54
11 lines
1045 bytes
ot sory

jest tak:

<P>unia europejska rządzi 1</P>
<P>unia europejska rządzi 2</P>
<P>unia europejska rządzi 3</P>
<P>unia europejska rządzi 4</P>
<P>unia europejska rządzi 5</P>

jak do tego dodać alt? coby nie wpisywać przy każdym P?
Re: p a alt
#231793
Author: 0x77
Date: Sat, 12 Aug 2017 21:24
25 lines
1737 bytes
W dniu 2017-08-12 o 18:54, w systemie siła 'POPIS/EU pisze:
> ot sory
> 
> jest tak:
> 
> <P>unia europejska rządzi 1</P>
> <P>unia europejska rządzi 2</P>
> <P>unia europejska rządzi 3</P>
> <P>unia europejska rządzi 4</P>
> <P>unia europejska rządzi 5</P>
> 
> jak do tego dodać alt? coby nie wpisywać przy każdym P?

Atrybut alt do <p>?

"The alt attribute is the HTML attribute used in HTML and XHTML 
documents to specify alternative text (alt text) that is to be rendered 
when the element to which it is applied cannot be rendered."

A co do pytania, to for lub foreach - chyba, że masz na myśli zmiany w 
gotowym kodzie, wtedy użyj PCRE:
http://php.net/manual/en/book.pcre.php .

-- 
0x77
Re: p a alt
#231794
Author: w systemie siła 'POPIS/EU
Date: Sun, 13 Aug 2017 08:28
2 lines
1035 bytes
chodzi mi o tekst wyświetlający się po najechaniu kursorem
to chyba alt?
Re: p a alt
#231795
Author: 0x77
Date: Sun, 13 Aug 2017 11:54
14 lines
1535 bytes
W dniu 2017-08-13 o 10:28, w systemie siła 'POPIS/EU pisze:
> chodzi mi o tekst wyświetlający się po najechaniu kursorem
> to chyba alt?

Nie.

https://www.w3schools.com/TAGS/tag_abbr.asp
https://www.w3schools.com/tags/att_global_title.asp


http://jqueryui.com/tooltip/

-- 
0x77
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads